ScanState

Overview

Location

  • Reference:
    • Go.dll  .NET, .NET Standard 2.0
    • Go.fx  Island
  • Namespace: go.fmt
  • Platforms: .NET, .NET Standard 2.0, Island

Required Methods


Read

 

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

 

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

 

func Read(_ buf: Slice<Byte>) -> (n:Int64, err:error)

 

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

 

Function Read(buf As Slice<Byte>) As Tuple (Of n:=Int64, err:=error)

Parameters:

  • buf:

ReadRune

 

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

 

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

 

func ReadRune() -> (r:rune, size:Int64, err:error)

 

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

 

Function ReadRune() As Tuple (Of r:=rune, size:=Int64, err:=error)

SkipSpace

 

method SkipSpace

 

void SkipSpace()

 

func SkipSpace()

 

func SkipSpace()

 

Sub SkipSpace()

Token

 

method Token(skipSpace: bool; f: Func<rune, Boolean>): tuple of (token: Slice<Byte>, err: error)

 

(Slice<Byte> token, error err) Token(bool skipSpace, Func<rune, Boolean> f)

 

func Token(_ skipSpace: bool, _ f: Func<rune, Boolean>) -> (token:Slice<Byte>, err:error)

 

func Token(skipSpace bool, f Func<rune, Boolean>) (token Slice<Byte>, err error)

 

Function Token(skipSpace As bool, f As Func (Of rune, Boolean)) As Tuple (Of token:=Slice<Byte>, err:=error)

Parameters:

  • skipSpace:
  • f:

UnreadRune

 

method UnreadRune: error

 

error UnreadRune()

 

func UnreadRune() -> error

 

func UnreadRune() error

 

Function UnreadRune() As error

Width

 

method Width: tuple of (wid: Int64, ok: Boolean)

 

(Int64 wid, Boolean ok) Width()

 

func Width() -> (wid:Int64, ok:Boolean)

 

func Width() (wid Int64, ok Boolean)

 

Function Width() As Tuple (Of wid:=Int64, ok:=Boolean)