tarWriter top-level constant

StreamTransformer<TarEntry, List<int>> const tarWriter

A stream transformer writing tar entries as byte streams.

Regardless of the input stream, the stream returned by this StreamTransformer.bind is a single-subscription stream. Apart from that, subscriptions, cancellations, pauses and resumes are propagated as one would expect from a StreamTransformer.

When piping the resulting stream into a StreamConsumer, consider using tarWritingSink directly. To change the output format of files with long names, use tarWriterWith.

Implementation

const StreamTransformer<TarEntry, List<int>> tarWriter =
    _WritingTransformer(OutputFormat.pax);