Reader

Overview

Location

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

Implements

Instance Methods


constructor

 

constructor

 

Reader()

 

init()

 

Sub New()

constructor (Slice<Byte>, int64, int)

 

constructor(as: Slice<Byte>; ai: int64; aprevRune: int)

 

Reader(Slice<Byte> as, int64 ai, int aprevRune)

 

init(_ as: Slice<Byte>, _ ai: int64, _ aprevRune: int)

 

Sub New(as As Slice<Byte>, ai As int64, aprevRune As int)

Parameters:

  • as:
  • ai:
  • aprevRune:

constructor (Reader)

 

constructor(value: Reader)

 

Reader(Reader value)

 

init(_ value: Reader)

 

Sub New(value As Reader)

Parameters:

  • value:

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

 

method Read(b: Slice<Byte>): tuple of (n: Int64, err: error)

 

(Int64 n, error err) Read(Slice<Byte> b)

 

func Read(_ b: Slice<Byte>) -> (Int64, error)

 

func Read(b Slice<Byte>) (n Int64, err error)

 

Function Read(b As Slice<Byte>) As Tuple (Of Int64, error)

Parameters:

  • b:

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

 

method ReadAt(b: Slice<Byte>; off: int64): tuple of (n: Int64, err: error)

 

(Int64 n, error err) ReadAt(Slice<Byte> b, int64 off)

 

func ReadAt(_ b: Slice<Byte>, _ off: int64) -> (Int64, error)

 

func ReadAt(b Slice<Byte>, off int64) (n Int64, err error)

 

Function ReadAt(b As Slice<Byte>, off As int64) As Tuple (Of Int64, error)

Parameters:

  • b:
  • off:

ReadByte

 

method ReadByte: tuple of (Byte, error)

 

(Byte, error) ReadByte()

 

func ReadByte() -> (Byte, error)

 

func ReadByte() (Byte, error)

 

Function ReadByte() As Tuple (Of Byte, error)

UnreadByte

 

method UnreadByte: error

 

error UnreadByte()

 

func UnreadByte() -> error

 

func UnreadByte() error

 

Function UnreadByte() As error

Len

 

method Len: int

 

int Len()

 

func Len() -> int

 

func Len() int

 

Function Len() As int

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

 

method Read(b: Slice<Byte>): tuple of (n: Int64, err: error)

 

(Int64 n, error err) Read(Slice<Byte> b)

 

func Read(_ b: Slice<Byte>) -> (Int64, error)

 

func Read(b Slice<Byte>) (n Int64, err error)

 

Function Read(b As Slice<Byte>) As Tuple (Of Int64, error)

Parameters:

  • b:

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

 

method ReadAt(b: Slice<Byte>; off: int64): tuple of (n: Int64, err: error)

 

(Int64 n, error err) ReadAt(Slice<Byte> b, int64 off)

 

func ReadAt(_ b: Slice<Byte>, _ off: int64) -> (Int64, error)

 

func ReadAt(b Slice<Byte>, off int64) (n Int64, err error)

 

Function ReadAt(b As Slice<Byte>, off As int64) As Tuple (Of Int64, error)

Parameters:

  • b:
  • off:

ReadRune

 

method ReadRune: tuple of (ch: rune, size: Int64, err: error)

 

(rune ch, Int64 size, error err) ReadRune()

 

func ReadRune() -> (rune, Int64, error)

 

func ReadRune() (ch rune, size Int64, err error)

 

Function ReadRune() As Tuple (Of rune, Int64, error)

Reset

 

method Reset(b: Slice<Byte>)

 

void Reset(Slice<Byte> b)

 

func Reset(_ b: Slice<Byte>)

 

func Reset(b Slice<Byte>)

 

Sub Reset(b As Slice<Byte>)

Parameters:

  • b:

Seek

 

method Seek(offset: int64; whence: int): tuple of (int64, error)

 

(int64, error) Seek(int64 offset, int whence)

 

func Seek(_ offset: int64, _ whence: int) -> (int64, error)

 

func Seek(offset int64, whence int) (int64, error)

 

Function Seek(offset As int64, whence As int) As Tuple (Of int64, error)

Parameters:

  • offset:
  • whence:

Size

 

method Size: int64

 

int64 Size()

 

func Size() -> int64

 

func Size() int64

 

Function Size() As int64

UnreadRune

 

method UnreadRune: error

 

error UnreadRune()

 

func UnreadRune() -> error

 

func UnreadRune() error

 

Function UnreadRune() As error

WriteTo

 

method WriteTo(w: Writer): tuple of (n: int64, err: error)

 

(int64 n, error err) WriteTo(Writer w)

 

func WriteTo(_ w: Writer) -> (int64, error)

 

func WriteTo(w Writer) (n int64, err error)

 

Function WriteTo(w As Writer) As Tuple (Of int64, error)

Parameters:

  • w: