dxFeed .Net API
7.1.0
dxFeed .Net API library intended to provide market data access for DX clients
|
Defines byte stream compression format. More...
Public Types | |
enum | CompressionType { None, Gzip, Zip } |
Supported compression types. More... | |
Public Member Functions | |
Stream | Decompress (Stream inputStream) |
Decompresses the given input stream with this compression format. More... | |
Static Public Member Functions | |
static StreamCompression | DetectCompressionByMimeType (string mimeType) |
Detects compression format by the mime type. More... | |
static StreamCompression | DetectCompressionByExtension (string fileName) |
Detects compression format by the extension at the end of the file name. More... | |
static StreamCompression | DetectCompressionByExtension (Uri fileUri) |
Detects compression format by the extension at the end of the file name. More... | |
Static Public Attributes | |
static StreamCompression | NONE = new StreamCompression(CompressionType.None, "none", "", "") |
No compression. More... | |
static StreamCompression | GZIP = new StreamCompression(CompressionType.Gzip, "gzip", "application/gzip", ".gz") |
Gzip compression format. More... | |
static StreamCompression | ZIP = new StreamCompression(CompressionType.Zip, "zip", "application/zip", ".zip") |
Zip compression format. More... | |
Defines byte stream compression format.
Supported compression formats are: NONE, GZIP(.gz), ZIP(.zip). NONE compression format serves as a null object and does not do anything.
|
strong |
Supported compression types.
|
inline |
Decompresses the given input stream with this compression format.
inputStream | In the input stream. |
ArgumentException | If input stream is null. |
IOException | If an I/O error occurs. |
|
inlinestatic |
Detects compression format by the extension at the end of the file name.
fileName | The file name. |
ArgumentException | If fileName is null. |
|
inlinestatic |
Detects compression format by the extension at the end of the file name.
fileUri | The file name Uri object. |
ArgumentException | If fileUri is null. |
|
inlinestatic |
Detects compression format by the mime type.
mimeType | The mime type. |
ArgumentNullException | If mimeType is null. |
|
static |
Gzip compression format.
|
static |
No compression.
|
static |
Zip compression format.