Method Object:GetByteValue [-] [+]

Returns the data at the specified index and offset, casted to an unsigned 8-bit integer.

E.g. if you want the second byte at index 10, you would pass in 1 as the offset.

Synopsis

value = Object:GetByteValue( index, offset )

Arguments

number index

Valid numbers: integers from 0 to 65,535.

number offset

Should be 0, 1, 2, or 3.

Valid numbers: integers from 0 to 255.

Returns

number value

Valid numbers: integers from 0 to 255.

Generated on
© 2010 - 2024 Eluna Lua Engine