LimitedReader

Overview

Location

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

Implements

 

constructor

 

constructor

 

LimitedReader()

 

init()

 

Sub New()

constructor (LimitedReader)

 

constructor(value: LimitedReader)

 

LimitedReader(LimitedReader value)

 

init(_ value: LimitedReader)

 

Sub New(value As LimitedReader)

Parameters:

  • value:

constructor (Reader, int64)

 

constructor(aR: Reader; aN: int64)

 

LimitedReader(Reader aR, int64 aN)

 

init(_ aR: Reader, _ aN: int64)

 

Sub New(aR As Reader, aN As int64)

Parameters:

  • aR:
  • aN:

N

 

var N: int64;

 

int64 N

 

var N: int64

 

N int64

 

FIELD N() As int64

R

 

var R: Reader;

 

Reader R

 

var R: Reader

 

R Reader

 

FIELD R() As Reader

Read

 

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

 

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

 

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

 

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

 

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

Parameters:

  • p:

 

N

 

var N: int64;

 

int64 N

 

var N: int64

 

N int64

 

FIELD N() As int64

R

 

var R: Reader;

 

Reader R

 

var R: Reader

 

R Reader

 

FIELD R() As Reader

 

constructor

 

constructor

 

LimitedReader()

 

init()

 

Sub New()

constructor (LimitedReader)

 

constructor(value: LimitedReader)

 

LimitedReader(LimitedReader value)

 

init(_ value: LimitedReader)

 

Sub New(value As LimitedReader)

Parameters:

  • value:

constructor (Reader, int64)

 

constructor(aR: Reader; aN: int64)

 

LimitedReader(Reader aR, int64 aN)

 

init(_ aR: Reader, _ aN: int64)

 

Sub New(aR As Reader, aN As int64)

Parameters:

  • aR:
  • aN:

Read

 

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

 

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

 

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

 

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

 

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

Parameters:

  • p: