HolyLib Wiki

CreateReadBuffer

  bf_read bitbuf.CreateReadBuffer( string data )

Description

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.

Arguments

1string data
string to created the buffer on

Returns

1bf_read buffer
created buffer containing the given string as data