menu

Xamarin.Forms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class NetCompressor - Xamarin.Forms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class NetCompressor

    Inheritance
    System.Object
    NetCompressor
    Namespace: Syncfusion.Compression.Zip
    Assembly: Syncfusion.Compression.Portable.dll
    Syntax
    public class NetCompressor : Stream

    Constructors

    NetCompressor(CompressionLevel, Stream)

    Declaration
    public NetCompressor(CompressionLevel compressionLevel, Stream outputStream)
    Parameters
    Type Name Description
    CompressionLevel compressionLevel
    System.IO.Stream outputStream

    Properties

    CanRead

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

    CanSeek

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

    CanWrite

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

    Length

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

    Position

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

    Methods

    Flush()

    Declaration
    public override void Flush()

    Read(Byte[], Int32, Int32)

    Declaration
    public override int Read(byte[] buffer, int offset, int count)
    Parameters
    Type Name Description
    System.Byte[] buffer
    System.Int32 offset
    System.Int32 count
    Returns
    Type
    System.Int32

    Seek(Int64, SeekOrigin)

    Declaration
    public override long Seek(long offset, SeekOrigin origin)
    Parameters
    Type Name Description
    System.Int64 offset
    System.IO.SeekOrigin origin
    Returns
    Type
    System.Int64

    SetLength(Int64)

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

    Write(Byte[], Int32, Boolean)

    Declaration
    public void Write(byte[] data, int size, bool close)
    Parameters
    Type Name Description
    System.Byte[] data
    System.Int32 size
    System.Boolean close

    Write(Byte[], Int32, Int32)

    Declaration
    public override void Write(byte[] buffer, int offset, int count)
    Parameters
    Type Name Description
    System.Byte[] buffer
    System.Int32 offset
    System.Int32 count
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved