Skip to content

Commit e19a3bb

Browse files
committed
Dart format
1 parent 22f1b6c commit e19a3bb

File tree

4 files changed

+4
-10
lines changed

4 files changed

+4
-10
lines changed

lib/src/framework/dart/buffers.dart

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,7 @@ class DartCodecBuffer extends CodecBuffer<DartHeapPointer> {
3232

3333
/// Constructs a [DartCodecBuffer] that is backed by a [Uint8List] with the
3434
/// provided [length].
35-
DartCodecBuffer(super.length)
36-
: _list = Uint8List(length);
35+
DartCodecBuffer(super.length) : _list = Uint8List(length);
3736

3837
/// Updates the read offset of the wrapped pointer and returns it.
3938
@override

lib/src/framework/native/buffers.dart

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@ class NativeCodecBuffer extends CodecBuffer<Pointer<Uint8>> {
2121
bool _released = false;
2222

2323
/// Constructs a buffer that allocates [length] bytes from the native OS-heap.
24-
NativeCodecBuffer(super.length)
25-
: _bytes = malloc<Uint8>(length);
24+
NativeCodecBuffer(super.length) : _bytes = malloc<Uint8>(length);
2625

2726
/// Return the native byte pointer to the [_bytes] base address.
2827
@override

lib/src/zstd/ffi/compress_filter.dart

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,7 @@ class ZstdCompressFilter extends NativeCodecFilterBase {
2525

2626
/// Construct the [ZstdCompressFilter] with the optional parameters.
2727
ZstdCompressFilter(
28-
{int? level,
29-
super.inputBufferLength,
30-
super.outputBufferLength}) {
28+
{int? level, super.inputBufferLength, super.outputBufferLength}) {
3129
if (level != null) this.level = level;
3230
}
3331

lib/src/zstd/stubs/compress_filter.dart

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,7 @@ import '../../../framework.dart';
1414
class ZstdCompressFilter extends DartCodecFilterBase {
1515
/// Construct the [ZstdCompressFilter] with the optional parameters.
1616
ZstdCompressFilter(
17-
{int? level,
18-
super.inputBufferLength,
19-
super.outputBufferLength});
17+
{int? level, super.inputBufferLength, super.outputBufferLength});
2018

2119
/// Raise an [UnsupportedError] for missing codec filter.
2220
@override

0 commit comments

Comments
 (0)