Class StreamBinaryWriter
Namespace: Unity.Entities.Serialization
Syntax
public class StreamBinaryWriter : BinaryWriter, IDisposable
Constructors
StreamBinaryWriter(String, Int32)
Declaration
public StreamBinaryWriter(string fileName, int bufferSize = 65536)
Parameters
Type | Name | Description |
---|---|---|
String | fileName | |
Int32 | bufferSize |
Properties
Length
Declaration
public long Length { get; }
Property Value
Type | Description |
---|---|
Int64 |
Methods
Dispose()
Declaration
public void Dispose()
WriteBytes(Void*, Int32)
Declaration
public void WriteBytes(void *data, int bytes)
Parameters
Type | Name | Description |
---|---|---|
Void* | data | |
Int32 | bytes |