Regular API function

simTransformBuffer

Description Modified a buffer than contains packed data. See also the data packing/unpacking functions.
C synopsis
-
C parameters
-
C return value
-
Lua synopsis string outBuffer=simTransformBuffer(string inBuffer,number inFormat,number multiplier,number offset,number outFormat)
Lua parameters
inBuffer: the input buffer that contains packed data.
inFormat: a buffer type.
multiplier: a multiplier value. We have out=offset+multiplier*in
offset: an offset value. We have out=offset+multiplier*in
outFormat: the desired buffer type for the returned buffer.
Lua return values
outBuffer: the modified buffer, or nil in case of an error

All regular API functions on one page