Ultimate Replay Scripting Reference
BitConverterNonAllocGetBytes Method (Byte, Int16) |
Store a 16 bit int into the specified byte array.
The buffer to store the int which must have a size of 2 or greaterThe short value to store
Namespace: UltimateReplay.Util
Assembly: UltimateReplay (in UltimateReplay.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public static void GetBytes( byte[] buffer, short value )
Parameters
- buffer
- Type: SystemByte
[Missing <param name="buffer"/> documentation for "M:UltimateReplay.Util.BitConverterNonAlloc.GetBytes(System.Byte[],System.Int16)"]
- value
- Type: SystemInt16
[Missing <param name="value"/> documentation for "M:UltimateReplay.Util.BitConverterNonAlloc.GetBytes(System.Byte[],System.Int16)"]
See Also