Reader

Overview

Location

Implements

 

constructor

 

constructor

 

Reader()

 

init()

 

Sub New()

constructor (Header, Reader, ReadCloser, uint32, uint32, array of byte, error, bool)

 

constructor(aHeader: Header; ar: Reader; adecompressor: ReadCloser; adigest: uint32; asize: uint32; abuf: array of byte; aerr: error; amultistream: bool)

 

Reader(Header aHeader, Reader ar, ReadCloser adecompressor, uint32 adigest, uint32 asize, byte[] abuf, error aerr, bool amultistream)

 

init(_ aHeader: Header, _ ar: Reader, _ adecompressor: ReadCloser, _ adigest: uint32, _ asize: uint32, _ abuf: byte..., _ aerr: error, _ amultistream: bool)

 

Sub New(aHeader As Header, ar As Reader, adecompressor As ReadCloser, adigest As uint32, asize As uint32, abuf As byte(), aerr As error, amultistream As bool)

Parameters:

  • aHeader:
  • ar:
  • adecompressor:
  • adigest:
  • asize:
  • abuf:
  • aerr:
  • amultistream:

constructor (Reader)

 

constructor(value: Reader)

 

Reader(Reader value)

 

init(_ value: Reader)

 

Sub New(value As Reader)

Parameters:

  • value:

Close

 

method Close: error

 

error Close()

 

func Close() -> error

 

func Close() error

 

Function Close() As error

Comment

 

property Comment: string read write;

 

string Comment { get; set; }

 

var Comment: string { get{} set{} }

 

Comment string

 

Property Comment() As string

Extra

 

property Extra: Slice<Byte> read write;

 

Slice<Byte> Extra { get; set; }

 

var Extra: Slice<Byte> { get{} set{} }

 

Extra Slice<Byte>

 

Property Extra() As Slice<Byte>

Header

 

var Header: Header;

 

Header Header

 

var Header: Header

 

Header Header

 

FIELD Header() As Header

ModTime

 

property ModTime: Time read write;

 

Time ModTime { get; set; }

 

var ModTime: Time { get{} set{} }

 

ModTime Time

 

Property ModTime() As Time

Multistream

 

method Multistream(ok: bool)

 

void Multistream(bool ok)

 

func Multistream(_ ok: bool)

 

func Multistream(ok bool)

 

Sub Multistream(ok As bool)

Parameters:

  • ok:

Name

 

property Name: string read write;

 

string Name { get; set; }

 

var Name: string { get{} set{} }

 

Name string

 

Property Name() As string

OS

 

property OS: byte read write;

 

byte OS { get; set; }

 

var OS: byte { get{} set{} }

 

OS byte

 

Property OS() As byte

Read (Slice<Byte>): tuple of (n: Int64, err: error)

 

method Read(p: Slice<Byte>): tuple of (n: Int64, err: error)

 

(Int64 n, error err) Read(Slice<Byte> p)

 

func Read(_ p: Slice<Byte>) -> (Int64, error)

 

func Read(p Slice<Byte>) (n Int64, err error)

 

Function Read(p As Slice<Byte>) As Tuple (Of Int64, error)

Parameters:

  • p:

Read (Slice<Byte>): tuple of (n: Int64, err: error)

 

method Read(p: Slice<Byte>): tuple of (n: Int64, err: error)

 

(Int64 n, error err) Read(Slice<Byte> p)

 

func Read(_ p: Slice<Byte>) -> (Int64, error)

 

func Read(p Slice<Byte>) (n Int64, err error)

 

Function Read(p As Slice<Byte>) As Tuple (Of Int64, error)

Parameters:

  • p:

Reset

 

method Reset(r: Reader): error

 

error Reset(Reader r)

 

func Reset(_ r: Reader) -> error

 

func Reset(r Reader) error

 

Function Reset(r As Reader) As error

Parameters:

  • r:

 

Header

 

var Header: Header;

 

Header Header

 

var Header: Header

 

Header Header

 

FIELD Header() As Header

 

Comment

 

property Comment: string read write;

 

string Comment { get; set; }

 

var Comment: string { get{} set{} }

 

Comment string

 

Property Comment() As string

Extra

 

property Extra: Slice<Byte> read write;

 

Slice<Byte> Extra { get; set; }

 

var Extra: Slice<Byte> { get{} set{} }

 

Extra Slice<Byte>

 

Property Extra() As Slice<Byte>

ModTime

 

property ModTime: Time read write;

 

Time ModTime { get; set; }

 

var ModTime: Time { get{} set{} }

 

ModTime Time

 

Property ModTime() As Time

Name

 

property Name: string read write;

 

string Name { get; set; }

 

var Name: string { get{} set{} }

 

Name string

 

Property Name() As string

OS

 

property OS: byte read write;

 

byte OS { get; set; }

 

var OS: byte { get{} set{} }

 

OS byte

 

Property OS() As byte

 

constructor

 

constructor

 

Reader()

 

init()

 

Sub New()

constructor (Header, Reader, ReadCloser, uint32, uint32, array of byte, error, bool)

 

constructor(aHeader: Header; ar: Reader; adecompressor: ReadCloser; adigest: uint32; asize: uint32; abuf: array of byte; aerr: error; amultistream: bool)

 

Reader(Header aHeader, Reader ar, ReadCloser adecompressor, uint32 adigest, uint32 asize, byte[] abuf, error aerr, bool amultistream)

 

init(_ aHeader: Header, _ ar: Reader, _ adecompressor: ReadCloser, _ adigest: uint32, _ asize: uint32, _ abuf: byte..., _ aerr: error, _ amultistream: bool)

 

Sub New(aHeader As Header, ar As Reader, adecompressor As ReadCloser, adigest As uint32, asize As uint32, abuf As byte(), aerr As error, amultistream As bool)

Parameters:

  • aHeader:
  • ar:
  • adecompressor:
  • adigest:
  • asize:
  • abuf:
  • aerr:
  • amultistream:

constructor (Reader)

 

constructor(value: Reader)

 

Reader(Reader value)

 

init(_ value: Reader)

 

Sub New(value As Reader)

Parameters:

  • value:

Read (Slice<Byte>): tuple of (n: Int64, err: error)

 

method Read(p: Slice<Byte>): tuple of (n: Int64, err: error)

 

(Int64 n, error err) Read(Slice<Byte> p)

 

func Read(_ p: Slice<Byte>) -> (Int64, error)

 

func Read(p Slice<Byte>) (n Int64, err error)

 

Function Read(p As Slice<Byte>) As Tuple (Of Int64, error)

Parameters:

  • p:

Close

 

method Close: error

 

error Close()

 

func Close() -> error

 

func Close() error

 

Function Close() As error

Multistream

 

method Multistream(ok: bool)

 

void Multistream(bool ok)

 

func Multistream(_ ok: bool)

 

func Multistream(ok bool)

 

Sub Multistream(ok As bool)

Parameters:

  • ok:

Read (Slice<Byte>): tuple of (n: Int64, err: error)

 

method Read(p: Slice<Byte>): tuple of (n: Int64, err: error)

 

(Int64 n, error err) Read(Slice<Byte> p)

 

func Read(_ p: Slice<Byte>) -> (Int64, error)

 

func Read(p Slice<Byte>) (n Int64, err error)

 

Function Read(p As Slice<Byte>) As Tuple (Of Int64, error)

Parameters:

  • p:

Reset

 

method Reset(r: Reader): error

 

error Reset(Reader r)

 

func Reset(_ r: Reader) -> error

 

func Reset(r Reader) error

 

Function Reset(r As Reader) As error

Parameters:

  • r: