Writer

Overview

Location

Implements

 

constructor

 

constructor

 

Writer()

 

init()

 

Sub New()

constructor (Header, Writer, int, bool, Reference<Writer>, uint32, uint32, bool, array of byte, error)

 

constructor(aHeader: Header; aw: Writer; alevel: int; awroteHeader: bool; acompressor: Reference<Writer>; adigest: uint32; asize: uint32; aclosed: bool; abuf: array of byte; aerr: error)

 

Writer(Header aHeader, Writer aw, int alevel, bool awroteHeader, Reference<Writer> acompressor, uint32 adigest, uint32 asize, bool aclosed, byte[] abuf, error aerr)

 

init(_ aHeader: Header, _ aw: Writer, _ alevel: int, _ awroteHeader: bool, _ acompressor: Reference<Writer>, _ adigest: uint32, _ asize: uint32, _ aclosed: bool, _ abuf: byte..., _ aerr: error)

 

Sub New(aHeader As Header, aw As Writer, alevel As int, awroteHeader As bool, acompressor As Reference<Writer>, adigest As uint32, asize As uint32, aclosed As bool, abuf As byte(), aerr As error)

Parameters:

  • aHeader:
  • aw:
  • alevel:
  • awroteHeader:
  • acompressor:
  • adigest:
  • asize:
  • aclosed:
  • abuf:
  • aerr:

constructor (Writer)

 

constructor(value: Writer)

 

Writer(Writer value)

 

init(_ value: Writer)

 

Sub New(value As Writer)

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>

Flush

 

method Flush: error

 

error Flush()

 

func Flush() -> error

 

func Flush() error

 

Function Flush() As error

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

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

Reset

 

method Reset(w: Writer)

 

void Reset(Writer w)

 

func Reset(_ w: Writer)

 

func Reset(w Writer)

 

Sub Reset(w As Writer)

Parameters:

  • w:

Write (Slice<Byte>): tuple of (Int64, error)

 

method Write(p: Slice<Byte>): tuple of (Int64, error)

 

(Int64, error) Write(Slice<Byte> p)

 

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

 

func Write(p Slice<Byte>) (Int64, error)

 

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

Parameters:

  • p:

Write (Slice<Byte>): tuple of (Int64, error)

 

method Write(p: Slice<Byte>): tuple of (Int64, error)

 

(Int64, error) Write(Slice<Byte> p)

 

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

 

func Write(p Slice<Byte>) (Int64, error)

 

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

Parameters:

  • p:

 

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

 

Writer()

 

init()

 

Sub New()

constructor (Header, Writer, int, bool, Reference<Writer>, uint32, uint32, bool, array of byte, error)

 

constructor(aHeader: Header; aw: Writer; alevel: int; awroteHeader: bool; acompressor: Reference<Writer>; adigest: uint32; asize: uint32; aclosed: bool; abuf: array of byte; aerr: error)

 

Writer(Header aHeader, Writer aw, int alevel, bool awroteHeader, Reference<Writer> acompressor, uint32 adigest, uint32 asize, bool aclosed, byte[] abuf, error aerr)

 

init(_ aHeader: Header, _ aw: Writer, _ alevel: int, _ awroteHeader: bool, _ acompressor: Reference<Writer>, _ adigest: uint32, _ asize: uint32, _ aclosed: bool, _ abuf: byte..., _ aerr: error)

 

Sub New(aHeader As Header, aw As Writer, alevel As int, awroteHeader As bool, acompressor As Reference<Writer>, adigest As uint32, asize As uint32, aclosed As bool, abuf As byte(), aerr As error)

Parameters:

  • aHeader:
  • aw:
  • alevel:
  • awroteHeader:
  • acompressor:
  • adigest:
  • asize:
  • aclosed:
  • abuf:
  • aerr:

constructor (Writer)

 

constructor(value: Writer)

 

Writer(Writer value)

 

init(_ value: Writer)

 

Sub New(value As Writer)

Parameters:

  • value:

Write (Slice<Byte>): tuple of (Int64, error)

 

method Write(p: Slice<Byte>): tuple of (Int64, error)

 

(Int64, error) Write(Slice<Byte> p)

 

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

 

func Write(p Slice<Byte>) (Int64, error)

 

Function Write(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

Flush

 

method Flush: error

 

error Flush()

 

func Flush() -> error

 

func Flush() error

 

Function Flush() As error

Reset

 

method Reset(w: Writer)

 

void Reset(Writer w)

 

func Reset(_ w: Writer)

 

func Reset(w Writer)

 

Sub Reset(w As Writer)

Parameters:

  • w:

Write (Slice<Byte>): tuple of (Int64, error)

 

method Write(p: Slice<Byte>): tuple of (Int64, error)

 

(Int64, error) Write(Slice<Byte> p)

 

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

 

func Write(p Slice<Byte>) (Int64, error)

 

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

Parameters:

  • p: