Метод | Описание | |
---|---|---|
ContentEncoder ( string encodingMethod ) : System |
Initializes a new instance of the T:Stumps.ContentEncoder class.
|
|
Decode ( byte value ) : byte[] |
Decodes the specified value.
|
|
Encode ( byte value ) : byte[] |
Encodes the specified value.
|
Метод | Описание | |
---|---|---|
CreateDeflateStream ( Stream stream, ContentEncoderMode mode ) : Stream |
Creates a new instance of a deflate stream initialized to the specified mode.
|
|
CreateGzipStream ( Stream stream, ContentEncoderMode mode ) : Stream |
Creates a new instance of a Gzip stream initialized to the specified mode.
|
public ContentEncoder ( string encodingMethod ) : System | ||
encodingMethod | string | The HTTP encoding method. |
Результат | System |
public Decode ( byte value ) : byte[] | ||
value | byte | The byte array to decode. |
Результат | byte[] |
public Encode ( byte value ) : byte[] | ||
value | byte | The byte array to encode. |
Результат | byte[] |