Property | Type | Description | |
---|---|---|---|
mChunkStack | Deque |
||
mCurrentOffset | int | ||
mEndian | Endian | ||
mFlipEndian | bool | ||
mReadWriteHeader | bool | ||
mRealFormat | RealStorageFormat | ||
mStream | Stream |
Method | Description | |
---|---|---|
StreamSerializer ( Stream stream ) : System |
Default constructor.
|
|
StreamSerializer ( Stream stream, Endian endianMode ) : System |
Constructor.
|
|
StreamSerializer ( Stream stream, Endian endianMode, bool autoHeader ) : System |
Constructor.
|
public StreamSerializer ( Stream stream ) : System | ||
stream | Stream | The stream on which you will read / write data. |
return | System |
public StreamSerializer ( Stream stream, Endian endianMode ) : System | ||
stream | Stream | The stream on which you will read / write data. |
endianMode | Endian | If true, the first write or read to this stream will /// automatically read / write the header too. This is required if you /// set endianMode to Endian.Auto, but if you manually set the endian mode, /// then you can skip writing / reading the header if you wish, if for example /// this stream is midway through a file which has already included header /// information. |
return | System |
public StreamSerializer ( Stream stream, Endian endianMode, bool autoHeader ) : System | ||
stream | Stream | The stream on which you will read / write data. |
endianMode | Endian | If true, the first write or read to this stream will /// automatically read / write the header too. This is required if you /// set endianMode to Endian.Auto, but if you manually set the endian mode, /// then you can skip writing / reading the header if you wish, if for example /// this stream is midway through a file which has already included header /// information. |
autoHeader | bool | If true, the first write or read to this stream will /// automatically read / write the header too. This is required if you /// set endianMode to Endian.Auto, but if you manually set the endian mode, /// then you can skip writing / reading the header if you wish, if for example /// this stream is midway through a file which has already included header /// information. |
return | System |