fn readIntoBoundedBytes(self: Self, comptime num_bytes: usize, bounded: *field_call) Error!void

Reads bytes until bounded.len is equal to num_bytes, or the stream ends.

  • it is assumed that num_bytes will not exceed bounded.capacity()

Parameters

self: Self,
num_bytes: usize,
bounded: *field_call,