LimitedStream should operate on bytes