BitConverterNonAlloc.GetBytes Method (Byte[], Single)

Ultimate Replay

BitConverterNonAllocGetBytes Method (Byte, Single)
Store a 32-bit float 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,
	float value
)

Parameters

buffer
Type: SystemByte
The buffer to store the float which must have a size of 4 or greated
value
Type: SystemSingle
The float value to store
See Also