forked from Neodymium146/gta-toolkit
-
Notifications
You must be signed in to change notification settings - Fork 16
RageLib.Data.DataWriter
Jérémie N'gadi edited this page Aug 5, 2018
·
3 revisions
Represents a data writer.
namespace: RageLib.Data
-
DataWriter
public class DataWriter
⬜ | prototype | description |
---|---|---|
method | DataWriter (Stream stream, Endianess endianess=Endianess.LittleEndian) |
Initializes a new data writer for the specified stream. |
⬜ | name | description |
---|---|---|
property | Endianess |
Gets or sets the endianess of the underlying stream. |
property | Length |
Gets the length of the underlying stream. |
property | Position |
Gets or sets the position within the underlying stream. |
⬜ | prototype | description |
---|---|---|
method | void Write(byte value) |
Writes a byte. |
method | void Write(byte[] value) |
Writes a sequence of bytes. |
method | void Write(short value) |
Writes a signed 16-bit value. |
method | void Write(int value) |
Writes a signed 32-bit value. |
method | void Write(long value) |
Writes a signed 64-bit value. |
method | void Write(ushort value) |
Writes an unsigned 16-bit value. |
method | void Write(uint value) |
Writes an unsigned 32-bit value. |
method | void Write(ulong value) |
Writes an unsigned 64-bit value. |
method | void Write(float value) |
Writes a single precision floating point value. |
method | void Write(double value) |
Writes a double precision floating point value. |
method | void Write(string value) |
Writes a string. |
⬜ | name | description |
---|