C# 클래스 ServiceStack.StreamExt

파일 보기 프로젝트 열기: ServiceStack/ServiceStack

공개 프로퍼티들

프로퍼티 타입 설명
DeflateProvider IDeflateProvider
GZipProvider IGZipProvider

공개 메소드들

메소드 설명
Compress ( this text, string compressionType ) : byte[]

Compresses the specified text using the default compression method: Deflate

CompressBytes ( this bytes, string compressionType ) : byte[]

Compresses the specified text using the default compression method: Deflate

Decompress ( this gzStream, string compressionType ) : Stream

Decompresses the specified gz buffer using inflate or gzip method

Decompress ( this gzBuffer, string compressionType ) : string

Decompresses the specified gz buffer using the default compression method: Inflate

DecompressBytes ( this gzBuffer, string compressionType ) : byte[]

Decompresses the specified gz buffer using the default compression method: Inflate

Deflate ( this text ) : byte[]
GUnzip ( this gzBuffer ) : string
GZip ( this text ) : byte[]
Inflate ( this gzBuffer ) : string
ToBytes ( this stream ) : byte[]
ToMd5Hash ( this stream ) : string
ToUtf8String ( this stream ) : string
Write ( this stream, string text ) : void

메소드 상세

Compress() 공개 정적인 메소드

Compresses the specified text using the default compression method: Deflate
public static Compress ( this text, string compressionType ) : byte[]
text this The text.
compressionType string Type of the compression.
리턴 byte[]

CompressBytes() 공개 정적인 메소드

Compresses the specified text using the default compression method: Deflate
public static CompressBytes ( this bytes, string compressionType ) : byte[]
bytes this
compressionType string
리턴 byte[]

Decompress() 공개 정적인 메소드

Decompresses the specified gz buffer using inflate or gzip method
public static Decompress ( this gzStream, string compressionType ) : Stream
gzStream this Compressed stream
compressionType string Type of the compression. Can be "gzip" or "deflate"
리턴 Stream

Decompress() 공개 정적인 메소드

Decompresses the specified gz buffer using the default compression method: Inflate
public static Decompress ( this gzBuffer, string compressionType ) : string
gzBuffer this The gz buffer.
compressionType string Type of the compression.
리턴 string

DecompressBytes() 공개 정적인 메소드

Decompresses the specified gz buffer using the default compression method: Inflate
public static DecompressBytes ( this gzBuffer, string compressionType ) : byte[]
gzBuffer this
compressionType string
리턴 byte[]

Deflate() 공개 정적인 메소드

public static Deflate ( this text ) : byte[]
text this
리턴 byte[]

GUnzip() 공개 정적인 메소드

public static GUnzip ( this gzBuffer ) : string
gzBuffer this
리턴 string

GZip() 공개 정적인 메소드

public static GZip ( this text ) : byte[]
text this
리턴 byte[]

Inflate() 공개 정적인 메소드

public static Inflate ( this gzBuffer ) : string
gzBuffer this
리턴 string

ToBytes() 공개 정적인 메소드

public static ToBytes ( this stream ) : byte[]
stream this
리턴 byte[]

ToMd5Hash() 공개 정적인 메소드

public static ToMd5Hash ( this stream ) : string
stream this
리턴 string

ToUtf8String() 공개 정적인 메소드

public static ToUtf8String ( this stream ) : string
stream this
리턴 string

Write() 공개 정적인 메소드

public static Write ( this stream, string text ) : void
stream this
text string
리턴 void

프로퍼티 상세

DeflateProvider 공개적으로 정적으로 프로퍼티

public static IDeflateProvider DeflateProvider
리턴 IDeflateProvider

GZipProvider 공개적으로 정적으로 프로퍼티

public static IGZipProvider GZipProvider
리턴 IGZipProvider