Property | Type | Description |
---|
Method | 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 | |
return | bool |
public static Read7BitEncodedInt ( this stream ) : int | ||
stream | this | |
return | int |
public static ReadByteNoAlloc ( this stream ) : byte | ||
stream | this | |
return | byte |
public static ReadDecimal ( this stream ) : decimal | ||
stream | this | |
return | decimal |
public static ReadDouble ( this stream ) : double | ||
stream | this | |
return | double |
public static ReadFloat ( this stream ) : float | ||
stream | this | |
return | float |
public static ReadInt16 ( this stream ) : |
||
stream | this | |
return |
public static ReadInt32 ( this stream ) : |
||
stream | this | |
return |
public static ReadInt64 ( this stream ) : System.Int64 | ||
stream | this | |
return | System.Int64 |
public static ReadNoAlloc ( this stream, byte bytes, int offset, int count ) : void | ||
stream | this | |
bytes | byte | |
offset | int | |
count | int | |
return | void |
public static ReadString ( this stream, Encoding encoding = null ) : string | ||
stream | this | |
encoding | Encoding | |
return | string |
public static ReadUInt16 ( this stream ) : |
||
stream | this | |
return |
public static ReadUInt32 ( this stream ) : |
||
stream | this | |
return |
public static ReadUInt64 ( this stream ) : System.UInt64 | ||
stream | this | |
return | System.UInt64 |
public static SkipBytes ( this stream, int byteCount ) : void | ||
stream | this | |
byteCount | int | |
return | void |
public static UnwrapGZip ( this stream ) : Stream | ||
stream | this | |
return | Stream |
public static WrapGZip ( this stream, bool buffered = true ) : Stream | ||
stream | this | |
buffered | bool | |
return | Stream |
public static Write7BitEncodedInt ( this stream, int value ) : void | ||
stream | this | |
value | int | |
return | void |
public static WriteNoAlloc ( this stream, |
||
stream | this | |
v | ||
return | void |
public static WriteNoAlloc ( this stream, |
||
stream | this | |
v | ||
return | void |
public static WriteNoAlloc ( this stream, System.Int64 v ) : void | ||
stream | this | |
v | System.Int64 | |
return | void |
public static WriteNoAlloc ( this stream, |
||
stream | this | |
v | ||
return | void |
public static WriteNoAlloc ( this stream, |
||
stream | this | |
v | ||
return | void |
public static WriteNoAlloc ( this stream, System.UInt64 v ) : void | ||
stream | this | |
v | System.UInt64 | |
return | void |
public static WriteNoAlloc ( this stream, byte value ) : void | ||
stream | this | |
value | byte | |
return | void |
public static WriteNoAlloc ( this stream, byte bytes, int offset, int count ) : void | ||
stream | this | |
bytes | byte | |
offset | int | |
count | int | |
return | void |
public static WriteNoAlloc ( this stream, decimal v ) : void | ||
stream | this | |
v | decimal | |
return | void |
public static WriteNoAlloc ( this stream, double v ) : void | ||
stream | this | |
v | double | |
return | void |
public static WriteNoAlloc ( this stream, float v ) : void | ||
stream | this | |
v | float | |
return | void |
public static WriteNoAlloc ( this stream, string text, Encoding encoding = null ) : void | ||
stream | this | |
text | string | |
encoding | Encoding | |
return | void |