SnappyBytesExtension extension

Snappy operations on blit's zero-copy Bytes views.

on
  • Bytes

Properties

snappyUncompressedLength → int

Available on Bytes, provided by the SnappyBytesExtension extension

The uncompressed length declared by this block stream's header.
no setter

Methods

snappyCompress({int level = 1}) → Bytes

Available on Bytes, provided by the SnappyBytesExtension extension

Compresses this view into a new Bytes using the block format.
snappyDecompress() → Uint8List

Available on Bytes, provided by the SnappyBytesExtension extension

Decompresses this block-format view into a new Uint8List.
snappyFrameCompress({int level = 1}) → Bytes

Available on Bytes, provided by the SnappyBytesExtension extension

Frames this view into a new Bytes using the Snappy framing format.
snappyFrameDecompress({bool verifyChecksums = true}) → Uint8List

Available on Bytes, provided by the SnappyBytesExtension extension

Decompresses this framed view into a new Uint8List.