BitConverterNonAlloc.GetBytes Method (Byte[], Boolean)

Ultimate Replay

BitConverterNonAllocGetBytes Method (Byte, Boolean)
Store an 8-bit bool into 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 void GetBytes(
	byte[] buffer,
	bool value
)

Parameters

buffer
Type: SystemByte
The buffer to store the bool which must have a size of 1 or greater
value
Type: SystemBoolean
The bool value to store
See Also