OpenMetaverse Protocol Library Developers API Documentation
BytesToUInt16 Method (bytes)
NamespacesOpenMetaverseUtilsBytesToUInt16( array< Byte > [] () [] [] )
Convert two bytes in little endian ordering to an unsigned short
Declaration Syntax
C#
public 
static 
ushort 
BytesToUInt16(
        
byte[] 
bytes
)
Parameters
bytes ( array< Byte > [] () [] [] )
Byte array containing the ushort
Return Value
An unsigned short, will be zero if a ushort can't be read

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