Writer Extension

Location

Instance Methods


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

 

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: