bytes format supports input iterators with separate length argument