Method | Description | |
---|---|---|
Align ( this writer, int align ) : void |
Aligns the writer to a specified boundary.
|
|
GetCompressedSize ( this value ) : uint |
Determines the size (in bytes) of an integer when it is compressed.
|
|
GetSerStringSize ( this value ) : uint |
Determines the size (in bytes) of a string.
|
|
WriteAsciiString ( this writer, string value ) : void |
Writes an ASCII string to the stream.
|
|
WriteBytes ( this writer, byte buffer ) : void |
Writes a buffer of data to the stream.
|
|
WriteCompressedUInt32 ( this writer, uint value ) : void |
Compresses and writes an unsigned integer to the stream.
|
|
WriteIndex ( this writer, IndexSize indexSize, uint value ) : void |
Writes an index with the specified size to the stream.
|
|
WriteSerString ( this writer, string value ) : void |
Writes an UTF8 string to the stream.
|
|
WriteZeroes ( this writer, int count ) : void |
Writes a specified amount of zero bytes to the stream.
|
public static Align ( this writer, int align ) : void | ||
writer | this | The writer to align. |
align | int | The boundary to use. |
return | void |
public static GetCompressedSize ( this value ) : uint | ||
value | this | The value to get the size from. |
return | uint |
public static GetSerStringSize ( this value ) : uint | ||
value | this | The string to get the size from. |
return | uint |
public static WriteAsciiString ( this writer, string value ) : void | ||
writer | this | The writer to use. |
value | string | The string to write. |
return | void |
public static WriteBytes ( this writer, byte buffer ) : void | ||
writer | this | The writer to use. |
buffer | byte | The data to write. |
return | void |
public static WriteCompressedUInt32 ( this writer, uint value ) : void | ||
writer | this | |
value | uint | |
return | void |
public static WriteIndex ( this writer, IndexSize indexSize, uint value ) : void | ||
writer | this | The writer to use. |
indexSize | IndexSize | The size of the index. |
value | uint | The value to write. |
return | void |
public static WriteSerString ( this writer, string value ) : void | ||
writer | this | The writer to use. |
value | string | The string to write. |
return | void |
public static WriteZeroes ( this writer, int count ) : void | ||
writer | this | The writer to use. |
count | int | The amount of zeroes to write. |
return | void |