ZipStreamReader.readBytes

private ubyte[] readBytes(size_t n)

Read exactly n bytes from buffer, advancing position.

Returns a copy of the data to avoid issues with buffer reallocation.

Throws

ArchiveError if not enough bytes available.