# `Exiffer.IO.Buffer`

Documentation for `Exiffer.IO.Buffer`.

A buffer with read access to the file source.

When matching on the buffer's raw data, it is up to the user to use ensure/2
so that enough data has been read.

# `close`

# `consume`

# `copy`

# `ensure`

# `new`

# `new_from_binary`

# `offset_buffer`

# `push`

# `random`

Read some bytes without changing the current buffer position.

If the bytes are in the current read buffer, simply return them.
Otherwise, position the buffer, read the bytes, then reposition the buffer
to the previous position.

# `read_eof`

Read the remaining bytes

# `seek`

# `skip`

# `tell`

# `write`

---

*Consult [api-reference.md](api-reference.md) for complete listing*
