Ultimate Replay Scripting Reference
BitConverterNonAllocGetInt Method |
Retreive a 32-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 int GetInt( byte[] buffer )
Parameters
- buffer
- Type: SystemByte
The buffer to retreive the int from which must have a size of 4 or greater
Return Value
Type: Int32The unpacked int value
See Also