skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • AI Coding Assistants
    • Embedded Reporting
    • Document Processing Libraries
    • SSO Account Sign-in

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
    • Functional UI Testing
    • RESTful API Testing
    • Load Testing
    • Remote Test Execution
    • Agile Teams
    • Web Test Automation
    • Desktop Test Automation
    • Responsive UI Testing
    • Continuous Testing
  • Training
    • Docs and Support
    • Documentation
    • Virtual Classroom
    • Videos
    • Blogs
    • Webinars
    • Whitepapers
    • Case Studies
    • Feedback Portal
    • Technical Support
    • What’s New
    • Roadmap
    • Release Notes
    • Trust Center
    • FAQs
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Request a demo Try now

Class ZlibStream

Inheritance
System.Object
System.MarshalByRefObject
System.IO.Stream
ZlibStream
Inherited Members
System.IO.Stream.Null
System.IO.Stream.CopyToAsync(System.IO.Stream)
System.IO.Stream.CopyToAsync(System.IO.Stream, System.Int32)
System.IO.Stream.CopyToAsync(System.IO.Stream, System.Int32, System.Threading.CancellationToken)
System.IO.Stream.CopyTo(System.IO.Stream)
System.IO.Stream.CopyTo(System.IO.Stream, System.Int32)
System.IO.Stream.Close()
System.IO.Stream.Dispose()
System.IO.Stream.FlushAsync()
System.IO.Stream.FlushAsync(System.Threading.CancellationToken)
System.IO.Stream.CreateWaitHandle()
System.IO.Stream.BeginRead(System.Byte[], System.Int32, System.Int32, System.AsyncCallback, System.Object)
System.IO.Stream.EndRead(System.IAsyncResult)
System.IO.Stream.ReadAsync(System.Byte[], System.Int32, System.Int32)
System.IO.Stream.ReadAsync(System.Byte[], System.Int32, System.Int32, System.Threading.CancellationToken)
System.IO.Stream.BeginWrite(System.Byte[], System.Int32, System.Int32, System.AsyncCallback, System.Object)
System.IO.Stream.EndWrite(System.IAsyncResult)
System.IO.Stream.WriteAsync(System.Byte[], System.Int32, System.Int32)
System.IO.Stream.WriteAsync(System.Byte[], System.Int32, System.Int32, System.Threading.CancellationToken)
System.IO.Stream.ReadByte()
System.IO.Stream.WriteByte(System.Byte)
System.IO.Stream.Synchronized(System.IO.Stream)
System.IO.Stream.ObjectInvariant()
System.IO.Stream.CanTimeout
System.IO.Stream.ReadTimeout
System.IO.Stream.WriteTimeout
System.MarshalByRefObject.MemberwiseClone(System.Boolean)
System.MarshalByRefObject.GetLifetimeService()
System.MarshalByRefObject.InitializeLifetimeService()
System.MarshalByRefObject.CreateObjRef(System.Type)
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: ArtOfTest.WebAii.Zip.Zlib
Assembly: ArtOfTest.WebAii.dll

Syntax

public class ZlibStream : Stream, IDisposable

Constructors

ZlibStream(Stream, CompressionMode)

Declaration
public ZlibStream(Stream stream, CompressionMode mode)
Parameters
System.IO.Stream stream

CompressionMode mode

ZlibStream(Stream, CompressionMode, CompressionLevel)

Declaration
public ZlibStream(Stream stream, CompressionMode mode, CompressionLevel level)
Parameters
System.IO.Stream stream

CompressionMode mode

CompressionLevel level

ZlibStream(Stream, CompressionMode, CompressionLevel, Boolean)

Declaration
public ZlibStream(Stream stream, CompressionMode mode, CompressionLevel level, bool leaveOpen)
Parameters
System.IO.Stream stream

CompressionMode mode

CompressionLevel level

System.Boolean leaveOpen

ZlibStream(Stream, CompressionMode, Boolean)

Declaration
public ZlibStream(Stream stream, CompressionMode mode, bool leaveOpen)
Parameters
System.IO.Stream stream

CompressionMode mode

System.Boolean leaveOpen

Properties

BufferSize

Declaration
public int BufferSize { get; set; }
Property Value
System.Int32

CanRead

Declaration
public override bool CanRead { get; }
Property Value
System.Boolean

Overrides
System.IO.Stream.CanRead

CanSeek

Declaration
public override bool CanSeek { get; }
Property Value
System.Boolean

Overrides
System.IO.Stream.CanSeek

CanWrite

Declaration
public override bool CanWrite { get; }
Property Value
System.Boolean

Overrides
System.IO.Stream.CanWrite

FlushMode

Declaration
public virtual FlushType FlushMode { get; set; }
Property Value
FlushType

Length

Declaration
public override long Length { get; }
Property Value
System.Int64

Overrides
System.IO.Stream.Length

Position

Declaration
public override long Position { get; set; }
Property Value
System.Int64

Overrides
System.IO.Stream.Position

TotalIn

Declaration
public virtual long TotalIn { get; }
Property Value
System.Int64

TotalOut

Declaration
public virtual long TotalOut { get; }
Property Value
System.Int64

Methods

CompressBuffer(Byte[])

Declaration
public static byte[] CompressBuffer(byte[] b)
Parameters
System.Byte[] b

Returns
System.Byte[]

CompressString(String)

Declaration
public static byte[] CompressString(string s)
Parameters
System.String s

Returns
System.Byte[]

Dispose(Boolean)

Declaration
protected override void Dispose(bool disposing)
Parameters
System.Boolean disposing

Overrides
System.IO.Stream.Dispose(System.Boolean)

Flush()

Declaration
public override void Flush()
Overrides
System.IO.Stream.Flush()

Read(Byte[], Int32, Int32)

Declaration
public override int Read(byte[] buffer, int offset, int count)
Parameters
System.Byte[] buffer

System.Int32 offset

System.Int32 count

Returns
System.Int32

Overrides
System.IO.Stream.Read(System.Byte[], System.Int32, System.Int32)

Seek(Int64, SeekOrigin)

Declaration
public override long Seek(long offset, SeekOrigin origin)
Parameters
System.Int64 offset

System.IO.SeekOrigin origin

Returns
System.Int64

Overrides
System.IO.Stream.Seek(System.Int64, System.IO.SeekOrigin)

SetLength(Int64)

Declaration
public override void SetLength(long value)
Parameters
System.Int64 value

Overrides
System.IO.Stream.SetLength(System.Int64)

UncompressBuffer(Byte[])

Declaration
public static byte[] UncompressBuffer(byte[] compressed)
Parameters
System.Byte[] compressed

Returns
System.Byte[]

UncompressString(Byte[])

Declaration
public static string UncompressString(byte[] compressed)
Parameters
System.Byte[] compressed

Returns
System.String

Write(Byte[], Int32, Int32)

Declaration
public override void Write(byte[] buffer, int offset, int count)
Parameters
System.Byte[] buffer

System.Int32 offset

System.Int32 count

Overrides
System.IO.Stream.Write(System.Byte[], System.Int32, System.Int32)
Getting Started
  • Getting Started
  • Videos
  • Whats New
  • Roadmap
Community
  • Forums
  • Blogs
  • Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.