We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f574774 commit 9cf85e6Copy full SHA for 9cf85e6
lib/src/pub/third_party/tar/lib/src/writer.dart
@@ -298,8 +298,8 @@ class _SynchronousTarSink implements Sink<SynchronousTarEntry> {
298
299
// End the tar archive by writing two zero blocks.
300
_output
301
- ..add(UnmodifiableUint8ListView(zeroBlock))
302
- ..add(UnmodifiableUint8ListView(zeroBlock));
+ ..add(zeroBlock.asUnmodifiableView())
+ ..add(zeroBlock.asUnmodifiableView());
303
_output.close();
304
305
_closed = true;
0 commit comments