snappyFrameCompress method

Bytes snappyFrameCompress({
  1. int level = 1,
})

Frames this view into a new Bytes using the Snappy framing format.

level is 1 (fastest, the default) or 2 (denser and slower).

Implementation

Bytes snappyFrameCompress({int level = 1}) =>
    Bytes.fromUint8List(SnappyFraming.compress(asUint8List(), level: level));