Writer

Overview

Location

  • Reference: Go.fx
  • Namespace: go.bufio
  • Platforms: Island

Implements

Instance Methods


constructor

 

constructor

 

Writer()

 

init()

 

Sub New()

constructor (error, Slice<Byte>, int, Writer)

 

constructor(aerr: error; abuf: Slice<Byte>; an: int; awr: Writer)

 

Writer(error aerr, Slice<Byte> abuf, int an, Writer awr)

 

init(_ aerr: error, _ abuf: Slice<Byte>, _ an: int, _ awr: Writer)

 

Sub New(aerr As error, abuf As Slice<Byte>, an As int, awr As Writer)

Parameters:

  • aerr:
  • abuf:
  • an:
  • awr:

constructor (Writer)

 

constructor(value: Writer)

 

Writer(Writer value)

 

init(_ value: Writer)

 

Sub New(value As Writer)

Parameters:

  • value:

Flush

 

method Flush: error

 

error Flush()

 

func Flush() -> error

 

func Flush() error

 

Function Flush() As error

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

 

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

 

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

 

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

 

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

 

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

Parameters:

  • p:

WriteByte (byte): error

 

method WriteByte(c: byte): error

 

error WriteByte(byte c)

 

func WriteByte(_ c: byte) -> error

 

func WriteByte(c byte) error

 

Function WriteByte(c As byte) As error

Parameters:

  • c:

WriteString (string): tuple of (Int64, error)

 

method WriteString(s: string): tuple of (Int64, error)

 

(Int64, error) WriteString(string s)

 

func WriteString(_ s: string) -> (Int64, error)

 

func WriteString(s string) (Int64, error)

 

Function WriteString(s As string) As Tuple (Of Int64, error)

Parameters:

  • s:

Available

 

method Available: int

 

int Available()

 

func Available() -> int

 

func Available() int

 

Function Available() As int

Buffered

 

method Buffered: int

 

int Buffered()

 

func Buffered() -> int

 

func Buffered() int

 

Function Buffered() As int

ReadFrom

 

method ReadFrom(r: Reader): tuple of (n: int64, err: error)

 

(int64 n, error err) ReadFrom(Reader r)

 

func ReadFrom(_ r: Reader) -> (int64, error)

 

func ReadFrom(r Reader) (n int64, err error)

 

Function ReadFrom(r As Reader) As Tuple (Of int64, error)

Parameters:

  • r:

Reset

 

method Reset(w: Writer)

 

void Reset(Writer w)

 

func Reset(_ w: Writer)

 

func Reset(w Writer)

 

Sub Reset(w As Writer)

Parameters:

  • w:

Size

 

method Size: int

 

int Size()

 

func Size() -> int

 

func Size() int

 

Function Size() As int

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

 

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

 

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

 

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

 

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

 

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

Parameters:

  • p:

WriteByte (byte): error

 

method WriteByte(c: byte): error

 

error WriteByte(byte c)

 

func WriteByte(_ c: byte) -> error

 

func WriteByte(c byte) error

 

Function WriteByte(c As byte) As error

Parameters:

  • c:

WriteRune

 

method WriteRune(r: rune): tuple of (size: Int64, err: error)

 

(Int64 size, error err) WriteRune(rune r)

 

func WriteRune(_ r: rune) -> (Int64, error)

 

func WriteRune(r rune) (size Int64, err error)

 

Function WriteRune(r As rune) As Tuple (Of Int64, error)

Parameters:

  • r:

WriteString (string): tuple of (Int64, error)

 

method WriteString(s: string): tuple of (Int64, error)

 

(Int64, error) WriteString(string s)

 

func WriteString(_ s: string) -> (Int64, error)

 

func WriteString(s string) (Int64, error)

 

Function WriteString(s As string) As Tuple (Of Int64, error)

Parameters:

  • s: