Appends to the std.ArrayList
contents by reading from the stream until end of stream is found. If the number of bytes appended would exceed max_append_size
, error.StreamTooLong
is returned and the std.ArrayList
has exactly max_append_size
bytes appended.