skip navigation
  • Product Bundles

    DevCraft

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

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop

    Web

    Kendo UI UI for jQuery UI for Angular UI for React UI for Vue 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 Test Studio Dev Edition Telerik JustMock

    CMS

    Sitefinity

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
  • Docs & Support
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Interface IBlockTransform

Defines the basic operations of the cryptographic or compression transformations.

Inherited Members
System.IDisposable.Dispose()
Namespace: Telerik.Windows.Zip
Assembly: Telerik.Windows.Zip.dll

Syntax

public interface IBlockTransform : IDisposable

Properties

CanReuseTransform

Gets a value indicating whether the current transform can be reused.

Declaration
bool CanReuseTransform { get; }
Property Value
System.Boolean

true if the current transform can be reused; otherwise, false.

CanTransformMultipleBlocks

Gets a value indicating whether multiple blocks can be transformed.

Declaration
bool CanTransformMultipleBlocks { get; }
Property Value
System.Boolean

true if multiple blocks can be transformed; otherwise, false.

Footer

Gets transformation footer (if required).

Declaration
TransformationFooter Footer { get; }
Property Value
TransformationFooter

Header

Gets transformation header (if required).

Declaration
TransformationHeader Header { get; }
Property Value
TransformationHeader

InputBlockSize

Gets the input block size.

Declaration
int InputBlockSize { get; }
Property Value
System.Int32

The size of the input data blocks in bytes.

OutputBlockSize

Gets the output block size.

Declaration
int OutputBlockSize { get; }
Property Value
System.Int32

The size of the output data blocks in bytes.

Methods

CreateHeader(CompressionSettings)

Creates transformation header to be written into the output stream.

Declaration
void CreateHeader(CompressionSettings compressionSettings = null)
Parameters
CompressionSettings compressionSettings

InitFooterReading(Int32)

Initialize reading of the transformation footer.

Declaration
void InitFooterReading(int compressedSize)
Parameters
System.Int32 compressedSize

InitHeaderReading(CompressionSettings)

Initialize reading of the transformation header.

Declaration
void InitHeaderReading(CompressionSettings settings = null)
Parameters
CompressionSettings settings

ProcessFooter()

Process transformation footer has been read.

Declaration
void ProcessFooter()

ProcessHeader()

Process transformation header has been read.

Declaration
void ProcessHeader()

TransformBlock(Byte[], Int32, Int32, Byte[], Int32)

Transforms the specified region of the input byte array and copies the resulting transform to the specified region of the output byte array.

Declaration
int TransformBlock(byte[] inputBuffer, int inputOffset, int inputCount, byte[] outputBuffer, int outputOffset)
Parameters
System.Byte[] inputBuffer

The input for which to compute the transform.

System.Int32 inputOffset

The offset into the input byte array from which to begin using data.

System.Int32 inputCount

The number of bytes in the input byte array to use as data.

System.Byte[] outputBuffer

The output to which to write the transform.

System.Int32 outputOffset

The offset into the output byte array from which to begin writing data.

Returns
System.Int32

The number of bytes written.

TransformFinalBlock(Byte[], Int32, Int32)

Transforms the specified region of the specified byte array.

Declaration
byte[] TransformFinalBlock(byte[] inputBuffer, int inputOffset, int inputCount)
Parameters
System.Byte[] inputBuffer

The input for which to compute the transform.

System.Int32 inputOffset

The offset into the byte array from which to begin using data.

System.Int32 inputCount

The number of bytes in the byte array to use as data.

Returns
System.Byte[]

The computed transform.

TransformFinalBlock(Byte[], Int32, Int32, CancellationToken)

Transforms the specified region of the specified byte array.

Declaration
byte[] TransformFinalBlock(byte[] inputBuffer, int inputOffset, int inputCount, CancellationToken cancellationToken)
Parameters
System.Byte[] inputBuffer

The input for which to compute the transform.

System.Int32 inputOffset

The offset into the byte array from which to begin using data.

System.Int32 inputCount

The number of bytes in the byte array to use as data.

System.Threading.CancellationToken cancellationToken

The token to monitor for cancellation requests.

Returns
System.Byte[]

The computed transform.

Getting Started
  • Getting Started
Support Resources
  • Documentation
Community
  • Forums
  • Blogs
  • Document Processing 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.