This is an example of documentation generated by ZigDoc, an alternative to Zig's built-in Auto Doc feature. See also examples in other modes/formats. The project being documented here (as the example) is the Zig standard library. Public Function
Transfers all bytes from the current position to the end of the stream, up to limit, appending them to list.
If limit is reached or exceeded, error.StreamTooLong is returned instead. In such case, the next byte that would be read will be the first one to exceed limit, and all preceeding bytes have been appended to list.
Transfers all bytes from the current position to the end of the stream, up to
limit, appending them tolist.If
limitis reached or exceeded,error.StreamTooLongis returned instead. In such case, the next byte that would be read will be the first one to exceedlimit, and all preceeding bytes have been appended tolist.See also:
appendRemainingallocRemainingAligned