Class NetCompressor
  
  
  
  
    Inheritance
    System.Object
    NetCompressor
   
  
  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
  
  
  
  
  CanSeek
  
  
  Declaration
  
    public override bool CanSeek { get; }
   
  Property Value
  
  
  
  
  CanWrite
  
  
  Declaration
  
    public override bool CanWrite { get; }
   
  Property Value
  
  
  
  
  Length
  
  
  Declaration
  
    public override long Length { get; }
   
  Property Value
  
  
  
  
  Position
  
  
  Declaration
  
    public override long Position { get; set; }
   
  Property Value
  
  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
  
  
  
  
  Seek(Int64, SeekOrigin)
  
  
  Declaration
  
    public override long Seek(long offset, SeekOrigin origin)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | System.Int64 | offset |  | 
      
        | System.IO.SeekOrigin | origin |  | 
    
  
  Returns
  
  
  
  
  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 |  |