Method | Description | |
---|---|---|
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.
|
Method | Description | |
---|---|---|
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. |
return | System |
public Decode ( byte value ) : byte[] | ||
value | byte | The byte array to decode. |
return | byte[] |
public Encode ( byte value ) : byte[] | ||
value | byte | The byte array to encode. |
return | byte[] |