Ultimate Replay Scripting Reference
BitConverterNonAllocGetShort Method |
Retreive a 16-bit int from the specified byte array.
Namespace: UltimateReplay.Util
Assembly: UltimateReplay (in UltimateReplay.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public static short GetShort( byte[] buffer )
Parameters
- buffer
- Type: SystemByte
The buffer to retreive the short from which must have a size of 2 or greater
Return Value
Type: Int16The unpacked short value
See Also