Writer

Overview

Location

  • Reference:
    • Go.dll  .NET, .NET Standard 2.0
    • Go.fx  Island
  • Namespace: go.compress.gzip
  • Platforms: .NET, .NET Standard 2.0, Island

Implements

 

constructor

 

constructor

 

Writer()

 

init()

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

 

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)

Parameters:

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

constructor (Header, Writer, Int64, Boolean, Reference<Writer>, UInt32, UInt32, Boolean, array of Byte, error) .NET, .NET Standard 2.0

 

constructor(aHeader: Header; aw: Writer; alevel: Int64; awroteHeader: Boolean; acompressor: Reference<Writer>; adigest: UInt32; asize: UInt32; aclosed: Boolean; abuf: array of Byte; aerr: error)

 

Writer(Header aHeader, Writer aw, Int64 alevel, Boolean awroteHeader, Reference<Writer> acompressor, UInt32 adigest, UInt32 asize, Boolean aclosed, Byte[] abuf, error aerr)

 

init(_ aHeader: Header, _ aw: Writer, _ alevel: Int64, _ awroteHeader: Boolean, _ acompressor: Reference<Writer>, _ adigest: UInt32, _ asize: UInt32, _ aclosed: Boolean, _ abuf: Byte..., _ aerr: error)

Parameters:

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

constructor (Writer)

 

constructor(value: Writer)

 

Writer(Writer value)

 

init(_ value: Writer)

Parameters:

  • value:

Close

 

method Close: error

 

error Close()

 

func Close() -> error

 

func Close() error

Comment

 

property Comment: string read write;

 

string Comment { get; set; }

 

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

 

Comment string

Extra

 

property Extra: Slice<Byte> read write;

 

Slice<Byte> Extra { get; set; }

 

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

 

Extra Slice<Byte>

Flush

 

method Flush: error

 

error Flush()

 

func Flush() -> error

 

func Flush() error

Header

 

var Header: Header;

 

Header Header

 

var Header: Header

 

Header Header

ModTime

 

property ModTime: Time read write;

 

Time ModTime { get; set; }

 

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

 

ModTime Time

Name

 

property Name: string read write;

 

string Name { get; set; }

 

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

 

Name string

OS

 

property OS: byte read write;

 

byte OS { get; set; }

 

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

 

OS byte

Reset

 

method Reset(w: Writer)

 

void Reset(Writer w)

 

func Reset(_ w: Writer)

 

func Reset(w Writer)

Parameters:

  • w:

Write

 

// .NET, Island
method Write(p: Slice<Byte>): tuple of (Int64, error)
// .NET Standard 2.0
method Write(p: Slice<Byte>): ValueTuple<Int64, error>

 

// .NET, Island
(Int64, error) Write(Slice<Byte> p)
// .NET Standard 2.0
ValueTuple<Int64, error> Write(Slice<Byte> p)

 

// .NET, Island
func Write(_ p: Slice<Byte>) -> (Int64, error)
// .NET Standard 2.0
func Write(_ p: Slice<Byte>) -> ValueTuple<Int64, error>

 

// .NET, Island
func Write(p Slice<Byte>) (Int64, error)
// .NET Standard 2.0
func Write(p Slice<Byte>) ValueTuple<Int64, error>

Parameters:

  • p:

 

Header

 

var Header: Header;

 

Header Header

 

var Header: Header

 

Header Header

 

Comment

 

property Comment: string read write;

 

string Comment { get; set; }

 

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

 

Comment string

Extra

 

property Extra: Slice<Byte> read write;

 

Slice<Byte> Extra { get; set; }

 

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

 

Extra Slice<Byte>

ModTime

 

property ModTime: Time read write;

 

Time ModTime { get; set; }

 

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

 

ModTime Time

Name

 

property Name: string read write;

 

string Name { get; set; }

 

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

 

Name string

OS

 

property OS: byte read write;

 

byte OS { get; set; }

 

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

 

OS byte

 

constructor

 

constructor

 

Writer()

 

init()

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

 

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)

Parameters:

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

constructor (Header, Writer, Int64, Boolean, Reference<Writer>, UInt32, UInt32, Boolean, array of Byte, error) .NET, .NET Standard 2.0

 

constructor(aHeader: Header; aw: Writer; alevel: Int64; awroteHeader: Boolean; acompressor: Reference<Writer>; adigest: UInt32; asize: UInt32; aclosed: Boolean; abuf: array of Byte; aerr: error)

 

Writer(Header aHeader, Writer aw, Int64 alevel, Boolean awroteHeader, Reference<Writer> acompressor, UInt32 adigest, UInt32 asize, Boolean aclosed, Byte[] abuf, error aerr)

 

init(_ aHeader: Header, _ aw: Writer, _ alevel: Int64, _ awroteHeader: Boolean, _ acompressor: Reference<Writer>, _ adigest: UInt32, _ asize: UInt32, _ aclosed: Boolean, _ abuf: Byte..., _ aerr: error)

Parameters:

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

constructor (Writer)

 

constructor(value: Writer)

 

Writer(Writer value)

 

init(_ value: Writer)

Parameters:

  • value:

Write

 

// .NET, Island
method Write(p: Slice<Byte>): tuple of (Int64, error)
// .NET Standard 2.0
method Write(p: Slice<Byte>): ValueTuple<Int64, error>

 

// .NET, Island
(Int64, error) Write(Slice<Byte> p)
// .NET Standard 2.0
ValueTuple<Int64, error> Write(Slice<Byte> p)

 

// .NET, Island
func Write(_ p: Slice<Byte>) -> (Int64, error)
// .NET Standard 2.0
func Write(_ p: Slice<Byte>) -> ValueTuple<Int64, error>

 

// .NET, Island
func Write(p Slice<Byte>) (Int64, error)
// .NET Standard 2.0
func Write(p Slice<Byte>) ValueTuple<Int64, error>

Parameters:

  • p:

Close

 

method Close: error

 

error Close()

 

func Close() -> error

 

func Close() error

Flush

 

method Flush: error

 

error Flush()

 

func Flush() -> error

 

func Flush() error

Reset

 

method Reset(w: Writer)

 

void Reset(Writer w)

 

func Reset(_ w: Writer)

 

func Reset(w Writer)

Parameters:

  • w: