The internal usage of RopeByteString (and RopeInputStream) is particularly
interesting. Alongside this, it would be very handy if ByteString exposed a
public method that is the reverse of:
public static ByteString copyFrom(Iterable<ByteString> byteStrings);
Essentially, it would be for chunking a ByteString into several smaller chunks
and returning those chunks in a list.
Something along the lines of:
public static List<ByteString> chunkify(ByteString s, int chunkSize);
...where all but the final chunk are guaranteed to be of size 'chunkSize'.
Original issue reported on code.google.com by vi...@umich.edu on 12 Mar 2014 at 7:27
Original issue reported on code.google.com by
vi...@umich.edu
on 12 Mar 2014 at 7:27