OpenMetaverse Protocol Library Developers API Documentation
BytesToInt16 Method (bytes, pos)
NamespacesOpenMetaverseUtilsBytesToInt16( array< Byte > [] () [] [] , Int32)
Convert the first two bytes starting at the given position in little endian ordering to a signed short integer
Declaration Syntax
C#
public
static
short
BytesToInt16(

byte[]
bytes,

int
pos
)
Parameters
bytes ( array< Byte > [] () [] [] )
An array two bytes or longer
pos ( Int32)
Position in the array to start reading
Return Value
A signed short integer, will be zero if a short can't be read at the given position

Assembly: OpenMetaverseTypes(Module: OpenMetaverseTypes.dll) Version: 0.0.0.0