OpenMetaverse Protocol Library Developers API Documentation
BytesToInt Method (bytes, pos)
NamespacesOpenMetaverseUtilsBytesToInt( array< Byte > [] () [] [] , Int32)
Convert the first four bytes starting at the given position in little endian ordering to a signed integer
Declaration Syntax
C#
public 
static 
int 
BytesToInt(
        
byte[] 
bytes,
        
int 
pos
)
Parameters
bytes ( array< Byte > [] () [] [] )
An array four bytes or longer
pos ( Int32)
Position to start reading the int from
Return Value
A signed integer, will be zero if an int can't be read at the given position

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