Class StreamBinaryReader
Inheritance
System.Object
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 |
---|---|---|
System.String | fileName | |
System.Int32 | bufferSize |
Methods
Dispose()
Declaration
public void Dispose()
ReadBytes(Void*, Int32)
Declaration
public void ReadBytes(void *data, int bytes)
Parameters
Type | Name | Description |
---|---|---|
System.Void* | data | |
System.Int32 | bytes |