HolyLib Wiki

bitbuf

bitbuf

This library implements the engine bf_read and bf_write classes.
Supports: Linux32 | Linux64 | Windows32 | Windows64

Methods

bf_read bitbuf.CopyReadBuffer( bf_read buffer )
Copies the given buffer into a new one.
Useful if you want to save the data received by a client. The size is clamped internally between a minimum of 4 bytes and a maximum of 262144 bytes.
Creates a read buffer from the given data.
Useful if you want to read the userdata of the instancebaseline stringtable. The size is clamped internally between a minimum of 4 bytes and a maximum of 262144 bytes.
Copies the given buffer into a new one.
Useful if you want to save the data received by a client. The size is clamped internally between a minimum of 4 bytes and a maximum of 262144 bytes.