Writer

Overview

Location

Implements

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:

Write (Slice<Byte>): tuple of (n: Int64, err: error) Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows

 

method Write(buf: Slice<Byte>): tuple of (n: Int64, err: error)

 

(Int64 n, error err) Write(Slice<Byte> buf)

 

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

 

func Write(buf Slice<Byte>) (n Int64, err error)

 

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

Parameters:

  • buf:

Flush

 

method Flush: error

 

error Flush()

 

func Flush() -> error

 

func Flush() error

 

Function Flush() As error

Init

 

method Init(output: Writer; minwidth: int; tabwidth: int; padding: int; padchar: byte; flags: uint): Reference<Writer>

 

Reference<Writer> Init(Writer output, int minwidth, int tabwidth, int padding, byte padchar, uint flags)

 

func Init(_ output: Writer, _ minwidth: int, _ tabwidth: int, _ padding: int, _ padchar: byte, _ flags: uint) -> Reference<Writer>

 

func Init(output Writer, minwidth int, tabwidth int, padding int, padchar byte, flags uint) Reference<Writer>

 

Function Init(output As Writer, minwidth As int, tabwidth As int, padding As int, padchar As byte, flags As uint) As Reference<Writer>

Parameters:

  • output:
  • minwidth:
  • tabwidth:
  • padding:
  • padchar:
  • flags:

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

 

method Write(buf: Slice<Byte>): tuple of (n: Int64, err: error)

 

(Int64 n, error err) Write(Slice<Byte> buf)

 

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

 

func Write(buf Slice<Byte>) (n Int64, err error)

 

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

Parameters:

  • buf: