Class StreamBinaryReader
Namespace: Unity.Entities.Serialization
Syntax
public class StreamBinaryReader : BinaryReader, IDisposable
Constructors
StreamBinaryReader(String, Int32)
Declaration
public StreamBinaryReader(string fileName, int bufferSize = 65536)
Parameters
Type | Name | Description |
---|---|---|
String | fileName | |
Int32 | 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 |