SectionReader

Overview

Location

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

Implements

Instance Methods


constructor

 

constructor

 

SectionReader()

 

init()

 

Sub New()

constructor (ReaderAt, int64, int64, int64)

 

constructor(ar: ReaderAt; abase: int64; aoff: int64; alimit: int64)

 

SectionReader(ReaderAt ar, int64 abase, int64 aoff, int64 alimit)

 

init(_ ar: ReaderAt, _ abase: int64, _ aoff: int64, _ alimit: int64)

 

Sub New(ar As ReaderAt, abase As int64, aoff As int64, alimit As int64)

Parameters:

  • ar:
  • abase:
  • aoff:
  • alimit:

constructor (SectionReader)

 

constructor(value: SectionReader)

 

SectionReader(SectionReader value)

 

init(_ value: SectionReader)

 

Sub New(value As SectionReader)

Parameters:

  • value:

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:

ReadAt

 

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

 

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

 

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

 

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

 

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

Parameters:

  • p:
  • off:

Seek

 

// .NET, Island
method Seek(offset: int64; whence: int): tuple of (int64, error)
// .NET Standard 2.0
method Seek(offset: int64; whence: int): ValueTuple<int64, error>

 

// .NET, Island
(int64, error) Seek(int64 offset, int whence)
// .NET Standard 2.0
ValueTuple<int64, error> Seek(int64 offset, int whence)

 

// .NET, Island
func Seek(_ offset: int64, _ whence: int) -> (int64, error)
// .NET Standard 2.0
func Seek(_ offset: int64, _ whence: int) -> ValueTuple<int64, error>

 

// .NET, Island
func Seek(offset int64, whence int) (int64, error)
// .NET Standard 2.0
func Seek(offset int64, whence int) ValueTuple<int64, error>

 

// .NET, Island
Function Seek(offset As int64, whence As int) As Tuple (Of int64, error)
// .NET Standard 2.0
Function Seek(offset As int64, whence As int) As ValueTuple<int64, error>

Parameters:

  • offset:
  • whence:

Size

 

method Size: int64

 

int64 Size()

 

func Size() -> int64

 

func Size() int64

 

Function Size() As int64