Skip to content

Latest commit

 

History

History
15 lines (9 loc) · 515 Bytes

README.md

File metadata and controls

15 lines (9 loc) · 515 Bytes

zerocopy

A zero-copy Reader interface, which returns a byte slice pointing at the underlying memory rather than copying it to you.

Documentation

Zero copy streams of *bytes.Reader and *os.File.

These are inherently unsafe since we violate the laws of the language to obtain access to the underlying byte slice of the *bytes.Reader.

It's all in good fun, though?

Caveat Emptor.