Scanner

Overview

Location

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

Instance Methods


constructor

 

constructor

 

Scanner()

 

init()

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

 

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)

Parameters:

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

constructor (Reader, SplitFunc, Int64, Slice<Byte>, Slice<Byte>, Int64, Int64, error, Int64, Boolean, Boolean) .NET, .NET Standard 2.0

 

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

 

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

 

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

Parameters:

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

constructor (Scanner)

 

constructor(value: Scanner)

 

Scanner(Scanner value)

 

init(_ value: 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)

Parameters:

  • buf:
  • max:

Bytes

 

method Bytes: Slice<Byte>

 

Slice<Byte> Bytes()

 

func Bytes() -> Slice<Byte>

 

func Bytes() Slice<Byte>

Err

 

method Err: error

 

error Err()

 

func Err() -> error

 

func Err() error

Scan

 

method Scan: bool

 

bool Scan()

 

func Scan() -> bool

 

func Scan() bool

Split

 

method Split(split: SplitFunc)

 

void Split(SplitFunc split)

 

func Split(_ split: SplitFunc)

 

func Split(split SplitFunc)

Parameters:

  • split:

Text

 

method Text: string

 

string Text()

 

func Text() -> string

 

func Text() string