Свойство | Type | Description |
---|
Méthode | Description | |
---|---|---|
CheckGZipHeader ( this stream ) : bool | ||
Read7BitEncodedInt ( this stream ) : int | ||
ReadByteNoAlloc ( this stream ) : byte | ||
ReadDecimal ( this stream ) : decimal | ||
ReadDouble ( this stream ) : double | ||
ReadFloat ( this stream ) : float | ||
ReadInt16 ( this stream ) : |
||
ReadInt32 ( this stream ) : |
||
ReadInt64 ( this stream ) : System.Int64 | ||
ReadNoAlloc ( this stream, byte bytes, int offset, int count ) : void | ||
ReadString ( this stream, Encoding encoding = null ) : string | ||
ReadUInt16 ( this stream ) : |
||
ReadUInt32 ( this stream ) : |
||
ReadUInt64 ( this stream ) : System.UInt64 | ||
SkipBytes ( this stream, int byteCount ) : void | ||
UnwrapGZip ( this stream ) : Stream |
Checks for GZip header and if found, returns decompressed Stream, otherwise original Stream
|
|
WrapGZip ( this stream, bool buffered = true ) : Stream |
Wraps stream into GZip compression stream resulting in writing compressed stream
|
|
Write7BitEncodedInt ( this stream, int value ) : void | ||
WriteNoAlloc ( this stream, |
||
WriteNoAlloc ( this stream, |
||
WriteNoAlloc ( this stream, System.Int64 v ) : void | ||
WriteNoAlloc ( this stream, |
||
WriteNoAlloc ( this stream, |
||
WriteNoAlloc ( this stream, System.UInt64 v ) : void | ||
WriteNoAlloc ( this stream, byte value ) : void | ||
WriteNoAlloc ( this stream, byte bytes, int offset, int count ) : void | ||
WriteNoAlloc ( this stream, decimal v ) : void | ||
WriteNoAlloc ( this stream, double v ) : void | ||
WriteNoAlloc ( this stream, float v ) : void | ||
WriteNoAlloc ( this stream, string text, Encoding encoding = null ) : void |
Writes byte count prefixed encoded text into the file. Byte count is written as 7-bit encoded 32-bit int. If no encoding is specified, UTF-8 will be used. Byte count prefix specifies number of bytes taken up by the string, not length of the string itself. Note that this method may allocate if the size of encoded string exceeds size of prepared buffer.
|
public static CheckGZipHeader ( this stream ) : bool | ||
stream | this | |
Résultat | bool |
public static Read7BitEncodedInt ( this stream ) : int | ||
stream | this | |
Résultat | int |
public static ReadByteNoAlloc ( this stream ) : byte | ||
stream | this | |
Résultat | byte |
public static ReadDecimal ( this stream ) : decimal | ||
stream | this | |
Résultat | decimal |
public static ReadDouble ( this stream ) : double | ||
stream | this | |
Résultat | double |
public static ReadFloat ( this stream ) : float | ||
stream | this | |
Résultat | float |
public static ReadInt16 ( this stream ) : |
||
stream | this | |
Résultat |
public static ReadInt32 ( this stream ) : |
||
stream | this | |
Résultat |
public static ReadInt64 ( this stream ) : System.Int64 | ||
stream | this | |
Résultat | System.Int64 |
public static ReadNoAlloc ( this stream, byte bytes, int offset, int count ) : void | ||
stream | this | |
bytes | byte | |
offset | int | |
count | int | |
Résultat | void |
public static ReadString ( this stream, Encoding encoding = null ) : string | ||
stream | this | |
encoding | Encoding | |
Résultat | string |
public static ReadUInt16 ( this stream ) : |
||
stream | this | |
Résultat |
public static ReadUInt32 ( this stream ) : |
||
stream | this | |
Résultat |
public static ReadUInt64 ( this stream ) : System.UInt64 | ||
stream | this | |
Résultat | System.UInt64 |
public static SkipBytes ( this stream, int byteCount ) : void | ||
stream | this | |
byteCount | int | |
Résultat | void |
public static UnwrapGZip ( this stream ) : Stream | ||
stream | this | |
Résultat | Stream |
public static WrapGZip ( this stream, bool buffered = true ) : Stream | ||
stream | this | |
buffered | bool | |
Résultat | Stream |
public static Write7BitEncodedInt ( this stream, int value ) : void | ||
stream | this | |
value | int | |
Résultat | void |
public static WriteNoAlloc ( this stream, |
||
stream | this | |
v | ||
Résultat | void |
public static WriteNoAlloc ( this stream, |
||
stream | this | |
v | ||
Résultat | void |
public static WriteNoAlloc ( this stream, System.Int64 v ) : void | ||
stream | this | |
v | System.Int64 | |
Résultat | void |
public static WriteNoAlloc ( this stream, |
||
stream | this | |
v | ||
Résultat | void |
public static WriteNoAlloc ( this stream, |
||
stream | this | |
v | ||
Résultat | void |
public static WriteNoAlloc ( this stream, System.UInt64 v ) : void | ||
stream | this | |
v | System.UInt64 | |
Résultat | void |
public static WriteNoAlloc ( this stream, byte value ) : void | ||
stream | this | |
value | byte | |
Résultat | void |
public static WriteNoAlloc ( this stream, byte bytes, int offset, int count ) : void | ||
stream | this | |
bytes | byte | |
offset | int | |
count | int | |
Résultat | void |
public static WriteNoAlloc ( this stream, decimal v ) : void | ||
stream | this | |
v | decimal | |
Résultat | void |
public static WriteNoAlloc ( this stream, double v ) : void | ||
stream | this | |
v | double | |
Résultat | void |
public static WriteNoAlloc ( this stream, float v ) : void | ||
stream | this | |
v | float | |
Résultat | void |
public static WriteNoAlloc ( this stream, string text, Encoding encoding = null ) : void | ||
stream | this | |
text | string | |
encoding | Encoding | |
Résultat | void |