ZlibStream
Overview
Location
- Reference: RemObjects.SDK.dll
- Namespace: RemObjects.SDK.ZLib
- Ancestry: Stream | ZlibStream
constructor (Stream, CompressionMode)
constructor(stream: Stream; mode: CompressionMode)
ZlibStream(Stream stream, CompressionMode mode)
init(_ stream: Stream, _ mode: CompressionMode)
Sub New(stream As Stream, mode As CompressionMode)
Parameters:
- stream:
- mode:
constructor (Stream, CompressionMode, Boolean)
constructor(stream: Stream; mode: CompressionMode; leaveOpen: Boolean)
ZlibStream(Stream stream, CompressionMode mode, Boolean leaveOpen)
init(_ stream: Stream, _ mode: CompressionMode, _ leaveOpen: Boolean)
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)
ZlibStream(Stream stream, CompressionMode mode, CompressionLevel level)
init(_ stream: Stream, _ mode: CompressionMode, _ level: CompressionLevel)
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)
ZlibStream(Stream stream, CompressionMode mode, CompressionLevel level, Boolean leaveOpen)
init(_ stream: Stream, _ mode: CompressionMode, _ level: CompressionLevel, _ leaveOpen: Boolean)
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; }
var BufferSize: Int32 { get{} set{} }
Property BufferSize() As Int32
CanRead
property CanRead: Boolean read;
Boolean CanRead { get; }
var CanRead: Boolean { get{} }
ReadOnly Property CanRead() As Boolean
CanSeek
property CanSeek: Boolean read;
Boolean CanSeek { get; }
var CanSeek: Boolean { get{} }
ReadOnly Property CanSeek() As Boolean
CanWrite
property CanWrite: Boolean read;
Boolean CanWrite { get; }
var CanWrite: Boolean { get{} }
ReadOnly Property CanWrite() As Boolean
CompressBuffer
class method CompressBuffer(b: array of Byte): array of Byte
static Byte[] CompressBuffer(Byte[] b)
static func CompressBuffer(_ b: Byte...) -> Byte...
Shared Function CompressBuffer(b As Byte()) As Byte()
Parameters:
- b:
CompressString
class method CompressString(s: String): array of Byte
static Byte[] CompressString(String s)
static func CompressString(_ s: String) -> Byte...
Shared Function CompressString(s As String) As Byte()
Parameters:
- s:
Dispose protected
method Dispose(disposing: Boolean)
void Dispose(Boolean disposing)
func Dispose(_ disposing: Boolean)
Sub Dispose(disposing As Boolean)
Parameters:
- disposing:
Flush
method Flush
void Flush()
func Flush()
Sub Flush()
FlushMode
property FlushMode: FlushType read write;
FlushType FlushMode { get; set; }
var FlushMode: FlushType { get{} set{} }
Property FlushMode() As FlushType
Length
property Length: Int64 read;
Int64 Length { get; }
var Length: Int64 { get{} }
ReadOnly Property Length() As Int64
Position
property Position: Int64 read write;
Int64 Position { get; set; }
var Position: Int64 { 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)
func Read(_ buffer: Byte..., _ offset: Int32, _ count: Int32) -> Int32
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)
func Seek(_ offset: Int64, _ origin: SeekOrigin) -> Int64
Function Seek(offset As Int64, origin As SeekOrigin) As Int64
Parameters:
- offset:
- origin:
SetLength
method SetLength(value: Int64)
void SetLength(Int64 value)
func SetLength(_ value: Int64)
Sub SetLength(value As Int64)
Parameters:
- value:
TotalIn
property TotalIn: Int64 read;
Int64 TotalIn { get; }
var TotalIn: Int64 { get{} }
ReadOnly Property TotalIn() As Int64
TotalOut
property TotalOut: Int64 read;
Int64 TotalOut { get; }
var TotalOut: Int64 { get{} }
ReadOnly Property TotalOut() As Int64
UncompressBuffer
class method UncompressBuffer(compressed: array of Byte): array of Byte
static Byte[] UncompressBuffer(Byte[] compressed)
static func UncompressBuffer(_ compressed: Byte...) -> Byte...
Shared Function UncompressBuffer(compressed As Byte()) As Byte()
Parameters:
- compressed:
UncompressString
class method UncompressString(compressed: array of Byte): String
static String UncompressString(Byte[] compressed)
static func UncompressString(_ compressed: Byte...) -> String
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)
func Write(_ buffer: Byte..., _ offset: Int32, _ count: Int32)
Sub Write(buffer As Byte(), offset As Int32, count As Int32)
Parameters:
- buffer:
- offset:
- count:
BufferSize
property BufferSize: Int32 read write;
Int32 BufferSize { get; set; }
var BufferSize: Int32 { get{} set{} }
Property BufferSize() As Int32
CanRead
property CanRead: Boolean read;
Boolean CanRead { get; }
var CanRead: Boolean { get{} }
ReadOnly Property CanRead() As Boolean
CanSeek
property CanSeek: Boolean read;
Boolean CanSeek { get; }
var CanSeek: Boolean { get{} }
ReadOnly Property CanSeek() As Boolean
CanWrite
property CanWrite: Boolean read;
Boolean CanWrite { get; }
var CanWrite: Boolean { get{} }
ReadOnly Property CanWrite() As Boolean
FlushMode
property FlushMode: FlushType read write;
FlushType FlushMode { get; set; }
var FlushMode: FlushType { get{} set{} }
Property FlushMode() As FlushType
Length
property Length: Int64 read;
Int64 Length { get; }
var Length: Int64 { get{} }
ReadOnly Property Length() As Int64
Position
property Position: Int64 read write;
Int64 Position { get; set; }
var Position: Int64 { get{} set{} }
Property Position() As Int64
TotalIn
property TotalIn: Int64 read;
Int64 TotalIn { get; }
var TotalIn: Int64 { get{} }
ReadOnly Property TotalIn() As Int64
TotalOut
property TotalOut: Int64 read;
Int64 TotalOut { get; }
var TotalOut: Int64 { get{} }
ReadOnly Property TotalOut() As Int64
CompressBuffer
class method CompressBuffer(b: array of Byte): array of Byte
static Byte[] CompressBuffer(Byte[] b)
static func CompressBuffer(_ b: Byte...) -> Byte...
Shared Function CompressBuffer(b As Byte()) As Byte()
Parameters:
- b:
CompressString
class method CompressString(s: String): array of Byte
static Byte[] CompressString(String s)
static func CompressString(_ s: String) -> Byte...
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)
static func UncompressBuffer(_ compressed: Byte...) -> Byte...
Shared Function UncompressBuffer(compressed As Byte()) As Byte()
Parameters:
- compressed:
UncompressString
class method UncompressString(compressed: array of Byte): String
static String UncompressString(Byte[] compressed)
static func UncompressString(_ compressed: Byte...) -> String
Shared Function UncompressString(compressed As Byte()) As String
Parameters:
- compressed:
constructor (Stream, CompressionMode)
constructor(stream: Stream; mode: CompressionMode)
ZlibStream(Stream stream, CompressionMode mode)
init(_ stream: Stream, _ mode: CompressionMode)
Sub New(stream As Stream, mode As CompressionMode)
Parameters:
- stream:
- mode:
constructor (Stream, CompressionMode, Boolean)
constructor(stream: Stream; mode: CompressionMode; leaveOpen: Boolean)
ZlibStream(Stream stream, CompressionMode mode, Boolean leaveOpen)
init(_ stream: Stream, _ mode: CompressionMode, _ leaveOpen: Boolean)
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)
ZlibStream(Stream stream, CompressionMode mode, CompressionLevel level)
init(_ stream: Stream, _ mode: CompressionMode, _ level: CompressionLevel)
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)
ZlibStream(Stream stream, CompressionMode mode, CompressionLevel level, Boolean leaveOpen)
init(_ stream: Stream, _ mode: CompressionMode, _ level: CompressionLevel, _ leaveOpen: Boolean)
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)
func Dispose(_ disposing: Boolean)
Sub Dispose(disposing As Boolean)
Parameters:
- disposing:
Flush
method Flush
void Flush()
func Flush()
Sub Flush()
Read
method Read(buffer: array of Byte; offset: Int32; count: Int32): Int32
Int32 Read(Byte[] buffer, Int32 offset, Int32 count)
func Read(_ buffer: Byte..., _ offset: Int32, _ count: Int32) -> Int32
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)
func Seek(_ offset: Int64, _ origin: SeekOrigin) -> Int64
Function Seek(offset As Int64, origin As SeekOrigin) As Int64
Parameters:
- offset:
- origin:
SetLength
method SetLength(value: Int64)
void SetLength(Int64 value)
func SetLength(_ value: Int64)
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)
func Write(_ buffer: Byte..., _ offset: Int32, _ count: Int32)
Sub Write(buffer As Byte(), offset As Int32, count As Int32)
Parameters:
- buffer:
- offset:
- count: