Writer

Overview

Location

Instance Methods


constructor

 

constructor

 

Writer()

 

init()

 

Sub New()

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

Create

 

method Create(name: string): tuple of (Writer, error)

 

(Writer, error) Create(string name)

 

func Create(_ name: string) -> (Writer, error)

 

func Create(name string) tuple of (Writer, error)

 

Function Create(name As string) As Tuple (Of Writer, error)

Parameters:

  • name:

CreateHeader

 

method CreateHeader(fh: Memory<FileHeader>): tuple of (Writer, error)

 

(Writer, error) CreateHeader(Memory<FileHeader> fh)

 

func CreateHeader(_ fh: Memory<FileHeader>) -> (Writer, error)

 

func CreateHeader(fh Memory<FileHeader>) tuple of (Writer, error)

 

Function CreateHeader(fh As Memory<FileHeader>) As Tuple (Of Writer, error)

Parameters:

  • fh:

Flush

 

method Flush: error

 

error Flush()

 

func Flush() -> error

 

func Flush() error

 

Function Flush() As error

RegisterCompressor

 

method RegisterCompressor(method: uint16; comp: Compressor)

 

void RegisterCompressor(uint16 method, Compressor comp)

 

func RegisterCompressor(_ method: uint16, _ comp: Compressor)

 

func RegisterCompressor(method uint16, comp Compressor) void

 

Sub RegisterCompressor(method As uint16, comp As Compressor)

Parameters:

  • method:
  • comp:

SetComment

 

method SetComment(comment: string): error

 

error SetComment(string comment)

 

func SetComment(_ comment: string) -> error

 

func SetComment(comment string) error

 

Function SetComment(comment As string) As error

Parameters:

  • comment:

SetOffset

 

method SetOffset(n: int64)

 

void SetOffset(int64 n)

 

func SetOffset(_ n: int64)

 

func SetOffset(n int64) void

 

Sub SetOffset(n As int64)

Parameters:

  • n: