Scanner

Overview

Location

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

Instance Methods


constructor

 

constructor

 

Scanner()

 

init()

 

Sub New()

constructor (Reader, SplitFunc, int, Slice<Byte>, Slice<Byte>, int, int, error, int, bool, bool)

 

constructor(ar: Reader; asplit: SplitFunc; amaxTokenSize: int; atoken: Slice<Byte>; abuf: Slice<Byte>; astart: int; aend: int; aerr: error; aempties: int; ascanCalled: bool; adone: bool)

 

Scanner(Reader ar, SplitFunc asplit, int amaxTokenSize, Slice<Byte> atoken, Slice<Byte> abuf, int astart, int aend, error aerr, int aempties, bool ascanCalled, bool adone)

 

init(_ ar: Reader, _ asplit: SplitFunc, _ amaxTokenSize: int, _ atoken: Slice<Byte>, _ abuf: Slice<Byte>, _ astart: int, _ aend: int, _ aerr: error, _ aempties: int, _ ascanCalled: bool, _ adone: bool)

 

Sub New(ar As Reader, asplit As SplitFunc, amaxTokenSize As int, atoken As Slice<Byte>, abuf As Slice<Byte>, astart As int, aend As int, aerr As error, aempties As int, ascanCalled As bool, adone As bool)

Parameters:

  • ar:
  • asplit:
  • amaxTokenSize:
  • atoken:
  • abuf:
  • astart:
  • aend:
  • aerr:
  • aempties:
  • ascanCalled:
  • adone:

constructor (Scanner)

 

constructor(value: Scanner)

 

Scanner(Scanner value)

 

init(_ value: Scanner)

 

Sub New(value As Scanner)

Parameters:

  • value:

Buffer

 

method Buffer(buf: Slice<Byte>; max: int)

 

void Buffer(Slice<Byte> buf, int max)

 

func Buffer(_ buf: Slice<Byte>, _ max: int)

 

func Buffer(buf Slice<Byte>, max int) void

 

Sub Buffer(buf As Slice<Byte>, max As int)

Parameters:

  • buf:
  • max:

Bytes

 

method Bytes: Slice<Byte>

 

Slice<Byte> Bytes()

 

func Bytes() -> Slice<Byte>

 

func Bytes() Slice<Byte>

 

Function Bytes() As Slice<Byte>

Err

 

method Err: error

 

error Err()

 

func Err() -> error

 

func Err() error

 

Function Err() As error

Scan

 

method Scan: bool

 

bool Scan()

 

func Scan() -> bool

 

func Scan() bool

 

Function Scan() As bool

Split

 

method Split(split: SplitFunc)

 

void Split(SplitFunc split)

 

func Split(_ split: SplitFunc)

 

func Split(split SplitFunc) void

 

Sub Split(split As SplitFunc)

Parameters:

  • split:

Text

 

method Text: string

 

string Text()

 

func Text() -> string

 

func Text() string

 

Function Text() As string