fn readUntilDelimiterAlloc(self: Self, allocator: mem.Allocator, delimiter: u8, max_size: usize) ![]u8
[src]
Deprecated: use streamUntilDelimiter
with ArrayList’s writer instead. Allocates enough memory to read until delimiter
. If the allocated memory would be greater than max_size
, returns error.StreamTooLong
. Caller owns returned memory. If this function returns an error, the contents from the stream read so far are lost.