ArchiveByteSource.read

const(ubyte)[] read(ubyte[] buf) @safe

Read the next chunk of bytes into buf.

Parameters

bufBuffer to fill; shorter returns are allowed.

Returns

The bytes read as a slice of buf. An empty slice signals end of

data; implementations must not return an empty slice before the end.