GZipStream

Overview

Location

 

constructor (Stream, CompressionMode)

 

constructor(stream: Stream; mode: CompressionMode)

 

GZipStream(Stream stream, CompressionMode mode)

 

Sub New(stream As Stream, mode As CompressionMode)

Parameters:

  • stream:
  • mode:

constructor (Stream, CompressionMode, Boolean)

 

constructor(stream: Stream; mode: CompressionMode; leaveOpen: Boolean)

 

GZipStream(Stream stream, CompressionMode mode, Boolean leaveOpen)

 

Sub New(stream As Stream, mode As CompressionMode, leaveOpen As Boolean)

Parameters:

  • stream:
  • mode:
  • leaveOpen:

constructor (Stream, CompressionMode, CompressionLevel)

 

constructor(stream: Stream; mode: CompressionMode; level: CompressionLevel)

 

GZipStream(Stream stream, CompressionMode mode, CompressionLevel level)

 

Sub New(stream As Stream, mode As CompressionMode, level As CompressionLevel)

Parameters:

  • stream:
  • mode:
  • level:

constructor (Stream, CompressionMode, CompressionLevel, Boolean)

 

constructor(stream: Stream; mode: CompressionMode; level: CompressionLevel; leaveOpen: Boolean)

 

GZipStream(Stream stream, CompressionMode mode, CompressionLevel level, Boolean leaveOpen)

 

Sub New(stream As Stream, mode As CompressionMode, level As CompressionLevel, leaveOpen As Boolean)

Parameters:

  • stream:
  • mode:
  • level:
  • leaveOpen:

BufferSize

 

property BufferSize: Int32 read write;

 

Int32 BufferSize { get; set; }

 

Property BufferSize() As Int32

CanRead

 

property CanRead: Boolean read;

 

Boolean CanRead { get; }

 

ReadOnly Property CanRead() As Boolean

CanSeek

 

property CanSeek: Boolean read;

 

Boolean CanSeek { get; }

 

ReadOnly Property CanSeek() As Boolean

CanWrite

 

property CanWrite: Boolean read;

 

Boolean CanWrite { get; }

 

ReadOnly Property CanWrite() As Boolean

Comment

 

property Comment: String read write;

 

String Comment { get; set; }

 

Property Comment() As String

CompressBuffer

 

class method CompressBuffer(b: array of Byte): array of Byte

 

static Byte[] CompressBuffer(Byte[] b)

 

Shared Function CompressBuffer(b As Byte()) As Byte()

Parameters:

  • b:

CompressString

 

class method CompressString(s: String): array of Byte

 

static Byte[] CompressString(String s)

 

Shared Function CompressString(s As String) As Byte()

Parameters:

  • s:

Crc32

 

property Crc32: Int32 read;

 

Int32 Crc32 { get; }

 

ReadOnly Property Crc32() As Int32

Dispose  protected

 

method Dispose(disposing: Boolean)

 

void Dispose(Boolean disposing)

 

Sub Dispose(disposing As Boolean)

Parameters:

  • disposing:

FileName

 

property FileName: String read write;

 

String FileName { get; set; }

 

Property FileName() As String

Flush

 

method Flush

 

void Flush()

 

Sub Flush()

FlushMode

 

property FlushMode: FlushType read write;

 

FlushType FlushMode { get; set; }

 

Property FlushMode() As FlushType

LastModified

 

var LastModified: nullable DateTime;

 

DateTime? LastModified

 

FIELD LastModified() As DateTime?

Length

 

property Length: Int64 read;

 

Int64 Length { get; }

 

ReadOnly Property Length() As Int64

Position

 

property Position: Int64 read write;

 

Int64 Position { get; set; }

 

Property Position() As Int64

Read

 

method Read(buffer: array of Byte; offset: Int32; count: Int32): Int32

 

Int32 Read(Byte[] buffer, Int32 offset, Int32 count)

 

Function Read(buffer As Byte(), offset As Int32, count As Int32) As Int32

Parameters:

  • buffer:
  • offset:
  • count:

Seek

 

method Seek(offset: Int64; origin: SeekOrigin): Int64

 

Int64 Seek(Int64 offset, SeekOrigin origin)

 

Function Seek(offset As Int64, origin As SeekOrigin) As Int64

Parameters:

  • offset:
  • origin:

SetLength

 

method SetLength(value: Int64)

 

void SetLength(Int64 value)

 

Sub SetLength(value As Int64)

Parameters:

  • value:

TotalIn

 

property TotalIn: Int64 read;

 

Int64 TotalIn { get; }

 

ReadOnly Property TotalIn() As Int64

TotalOut

 

property TotalOut: Int64 read;

 

Int64 TotalOut { get; }

 

ReadOnly Property TotalOut() As Int64

UncompressBuffer

 

class method UncompressBuffer(compressed: array of Byte): array of Byte

 

static Byte[] UncompressBuffer(Byte[] compressed)

 

Shared Function UncompressBuffer(compressed As Byte()) As Byte()

Parameters:

  • compressed:

UncompressString

 

class method UncompressString(compressed: array of Byte): String

 

static String UncompressString(Byte[] compressed)

 

Shared Function UncompressString(compressed As Byte()) As String

Parameters:

  • compressed:

Write

 

method Write(buffer: array of Byte; offset: Int32; count: Int32)

 

void Write(Byte[] buffer, Int32 offset, Int32 count)

 

Sub Write(buffer As Byte(), offset As Int32, count As Int32)

Parameters:

  • buffer:
  • offset:
  • count:

 

LastModified

 

var LastModified: nullable DateTime;

 

DateTime? LastModified

 

FIELD LastModified() As DateTime?

 

BufferSize

 

property BufferSize: Int32 read write;

 

Int32 BufferSize { get; set; }

 

Property BufferSize() As Int32

CanRead

 

property CanRead: Boolean read;

 

Boolean CanRead { get; }

 

ReadOnly Property CanRead() As Boolean

CanSeek

 

property CanSeek: Boolean read;

 

Boolean CanSeek { get; }

 

ReadOnly Property CanSeek() As Boolean

CanWrite

 

property CanWrite: Boolean read;

 

Boolean CanWrite { get; }

 

ReadOnly Property CanWrite() As Boolean

Comment

 

property Comment: String read write;

 

String Comment { get; set; }

 

Property Comment() As String

Crc32

 

property Crc32: Int32 read;

 

Int32 Crc32 { get; }

 

ReadOnly Property Crc32() As Int32

FileName

 

property FileName: String read write;

 

String FileName { get; set; }

 

Property FileName() As String

FlushMode

 

property FlushMode: FlushType read write;

 

FlushType FlushMode { get; set; }

 

Property FlushMode() As FlushType

Length

 

property Length: Int64 read;

 

Int64 Length { get; }

 

ReadOnly Property Length() As Int64

Position

 

property Position: Int64 read write;

 

Int64 Position { get; set; }

 

Property Position() As Int64

TotalIn

 

property TotalIn: Int64 read;

 

Int64 TotalIn { get; }

 

ReadOnly Property TotalIn() As Int64

TotalOut

 

property TotalOut: Int64 read;

 

Int64 TotalOut { get; }

 

ReadOnly Property TotalOut() As Int64

 

CompressBuffer

 

class method CompressBuffer(b: array of Byte): array of Byte

 

static Byte[] CompressBuffer(Byte[] b)

 

Shared Function CompressBuffer(b As Byte()) As Byte()

Parameters:

  • b:

CompressString

 

class method CompressString(s: String): array of Byte

 

static Byte[] CompressString(String s)

 

Shared Function CompressString(s As String) As Byte()

Parameters:

  • s:

UncompressBuffer

 

class method UncompressBuffer(compressed: array of Byte): array of Byte

 

static Byte[] UncompressBuffer(Byte[] compressed)

 

Shared Function UncompressBuffer(compressed As Byte()) As Byte()

Parameters:

  • compressed:

UncompressString

 

class method UncompressString(compressed: array of Byte): String

 

static String UncompressString(Byte[] compressed)

 

Shared Function UncompressString(compressed As Byte()) As String

Parameters:

  • compressed:

 

constructor (Stream, CompressionMode)

 

constructor(stream: Stream; mode: CompressionMode)

 

GZipStream(Stream stream, CompressionMode mode)

 

Sub New(stream As Stream, mode As CompressionMode)

Parameters:

  • stream:
  • mode:

constructor (Stream, CompressionMode, Boolean)

 

constructor(stream: Stream; mode: CompressionMode; leaveOpen: Boolean)

 

GZipStream(Stream stream, CompressionMode mode, Boolean leaveOpen)

 

Sub New(stream As Stream, mode As CompressionMode, leaveOpen As Boolean)

Parameters:

  • stream:
  • mode:
  • leaveOpen:

constructor (Stream, CompressionMode, CompressionLevel)

 

constructor(stream: Stream; mode: CompressionMode; level: CompressionLevel)

 

GZipStream(Stream stream, CompressionMode mode, CompressionLevel level)

 

Sub New(stream As Stream, mode As CompressionMode, level As CompressionLevel)

Parameters:

  • stream:
  • mode:
  • level:

constructor (Stream, CompressionMode, CompressionLevel, Boolean)

 

constructor(stream: Stream; mode: CompressionMode; level: CompressionLevel; leaveOpen: Boolean)

 

GZipStream(Stream stream, CompressionMode mode, CompressionLevel level, Boolean leaveOpen)

 

Sub New(stream As Stream, mode As CompressionMode, level As CompressionLevel, leaveOpen As Boolean)

Parameters:

  • stream:
  • mode:
  • level:
  • leaveOpen:

Dispose  protected

 

method Dispose(disposing: Boolean)

 

void Dispose(Boolean disposing)

 

Sub Dispose(disposing As Boolean)

Parameters:

  • disposing:

Flush

 

method Flush

 

void Flush()

 

Sub Flush()

Read

 

method Read(buffer: array of Byte; offset: Int32; count: Int32): Int32

 

Int32 Read(Byte[] buffer, Int32 offset, Int32 count)

 

Function Read(buffer As Byte(), offset As Int32, count As Int32) As Int32

Parameters:

  • buffer:
  • offset:
  • count:

Seek

 

method Seek(offset: Int64; origin: SeekOrigin): Int64

 

Int64 Seek(Int64 offset, SeekOrigin origin)

 

Function Seek(offset As Int64, origin As SeekOrigin) As Int64

Parameters:

  • offset:
  • origin:

SetLength

 

method SetLength(value: Int64)

 

void SetLength(Int64 value)

 

Sub SetLength(value As Int64)

Parameters:

  • value:

Write

 

method Write(buffer: array of Byte; offset: Int32; count: Int32)

 

void Write(Byte[] buffer, Int32 offset, Int32 count)

 

Sub Write(buffer As Byte(), offset As Int32, count As Int32)

Parameters:

  • buffer:
  • offset:
  • count: