framework library

Core compression framework library.

To use this library in your code:

import 'package:es_compression/framework.dart';

Classes

BufferSink
The BufferSink will efficiently collect up the results of codec filtering.
CodecBuffer<T>
An abstract implementation of a streamable buffer useful for implementing codec algorithms.
CodecBufferHolder<T, CB extends CodecBuffer<T>>
Provides a simple buffer holder/builder with a customizable builder function bufferBuilderFunc.
CodecConverter
A CodecConverter either encodes or decodes incoming data.
CodecFilter<P, CB extends CodecBuffer<P>>
Subclasses of CodecFilter provide low-level interfaces to their algorithms and direct the processing of data.
CodecResult
Represents the result of encode/decode routines.
CodecSink
The CodecSink is the base class for encode/decoder sinks.
DartCodecBuffer
Implementation of an in-memory Dart heap CodecBuffer
DartCodecBufferHolder
CodecBufferHolder for constructing DartCodecBuffer instances.
DartCodecFilterBase
Provides a base-class for codec filters that need to use Dart heap-allocated buffers instead of ffi-based buffers.
DartHeapPointer
Provides a Dart heap counterpart to Pointer from FFI.

Enums

CodecFilterState
Various states that a CodecFilter transition through.