ArchiveFile.stream constructor

ArchiveFile.stream(
  1. String name,
  2. InputStream stream
)

A file that gets its content from the given stream.

Implementation

ArchiveFile.stream(this.name, InputStream stream) : mode = 0x1a4 {
  size = stream.length;
  _rawContent = FileContentStream(stream);
}