diff --git a/lib/src/framework/dart/buffers.dart b/lib/src/framework/dart/buffers.dart index 90de900..f617f56 100644 --- a/lib/src/framework/dart/buffers.dart +++ b/lib/src/framework/dart/buffers.dart @@ -32,8 +32,7 @@ class DartCodecBuffer extends CodecBuffer { /// Constructs a [DartCodecBuffer] that is backed by a [Uint8List] with the /// provided [length]. - DartCodecBuffer(super.length) - : _list = Uint8List(length); + DartCodecBuffer(super.length) : _list = Uint8List(length); /// Updates the read offset of the wrapped pointer and returns it. @override diff --git a/lib/src/framework/native/buffers.dart b/lib/src/framework/native/buffers.dart index 01ae32b..25505b2 100644 --- a/lib/src/framework/native/buffers.dart +++ b/lib/src/framework/native/buffers.dart @@ -21,8 +21,7 @@ class NativeCodecBuffer extends CodecBuffer> { bool _released = false; /// Constructs a buffer that allocates [length] bytes from the native OS-heap. - NativeCodecBuffer(super.length) - : _bytes = malloc(length); + NativeCodecBuffer(super.length) : _bytes = malloc(length); /// Return the native byte pointer to the [_bytes] base address. @override diff --git a/lib/src/zstd/ffi/compress_filter.dart b/lib/src/zstd/ffi/compress_filter.dart index 5af3087..715b926 100644 --- a/lib/src/zstd/ffi/compress_filter.dart +++ b/lib/src/zstd/ffi/compress_filter.dart @@ -25,9 +25,7 @@ class ZstdCompressFilter extends NativeCodecFilterBase { /// Construct the [ZstdCompressFilter] with the optional parameters. ZstdCompressFilter( - {int? level, - super.inputBufferLength, - super.outputBufferLength}) { + {int? level, super.inputBufferLength, super.outputBufferLength}) { if (level != null) this.level = level; } diff --git a/lib/src/zstd/stubs/compress_filter.dart b/lib/src/zstd/stubs/compress_filter.dart index 3fdb9e0..22bb090 100644 --- a/lib/src/zstd/stubs/compress_filter.dart +++ b/lib/src/zstd/stubs/compress_filter.dart @@ -14,9 +14,7 @@ import '../../../framework.dart'; class ZstdCompressFilter extends DartCodecFilterBase { /// Construct the [ZstdCompressFilter] with the optional parameters. ZstdCompressFilter( - {int? level, - super.inputBufferLength, - super.outputBufferLength}); + {int? level, super.inputBufferLength, super.outputBufferLength}); /// Raise an [UnsupportedError] for missing codec filter. @override