Class BinaryReaderExtensions
Provides additional read methods for the BinaryReader.
Namespace: Unity.Entities.Serialization
Assembly: solution.dll
Syntax
public static class BinaryReaderExtensions
Methods
Name | Description |
---|---|
ReadArray<T>(BinaryReader, NativeArray<T>, int) | Reads the specified number of elements from a native array. |
ReadByte(BinaryReader) | Reads a single byte. |
ReadBytes(BinaryReader, NativeArray<byte>, int, int) | Reads the specified number of elements from a native byte array. |
ReadInt(BinaryReader) | Reads a single int. |
ReadULong(BinaryReader) | Reads a single ulong. |