Skip to content

Std memory databuffer pokestring

std:std.memory.DataBuffer.PokeString

Method PokeString:Void( offset:Int,value:String )#

Write a string to the databuffer.

If there is not enough room in the data buffer, the string data is truncated.

The string is written in utf8 format, but no null terminator is written. Use PokeCString to write a null terminated string.

Parameters
offset offset Byte offset to write the string.
value value The string to write.