ArchiveWriteFormat class abstract

Descriptor for one writable archive format (Phase 2): its name and how to open a writer over a sink. Unlike reading there is no detection; writing always names the format explicitly.

Constructors

ArchiveWriteFormat()
Const-constructable so descriptors can be compile-time constants.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
name String
Short lower-case format name (e.g. tar, zip).
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
openWriter(ByteSink sink, ArchiveWriteOptions options) ArchiveWriter
Opens a writer that appends to sink under options. Synchronous: opening a writer does no I/O (the sink is already open).
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited