Skip to content

EntryWriter

Content sink for one scoped TAR entry.

Subtype of Sink. Putting a Str or Bin value appends its bytes without adding separators.

Example

entry.put "first"
entry.put b"second"

Inherits from: Sink[Str | Bin]

Methods

write data

Writes raw string or binary bytes.

Parameters

NameTypeDescription
data (Str | Bin) Bytes to write.

Example

entry.write header
entry.write b"\x00\x01"