Class StreamBinaryReader
Namespace: Unity.Entities.Serialization
Syntax
public class StreamBinaryReader : BinaryReader, IDisposable
Constructors
StreamBinaryReader(String, Int64)
Declaration
public StreamBinaryReader(string filePath, long bufferSize = 65536L)
Parameters
Type | Name | Description |
---|---|---|
String | filePath | |
Int64 | bufferSize |
Methods
Dispose()
Declaration
public void Dispose()
ReadBytes(Void*, Int32)
Declaration
public void ReadBytes(void *data, int bytes)
Parameters
Type | Name | Description |
---|---|---|
Void* | data | |
Int32 | bytes |