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 (SectionReader) .NET, .NET Standard 2.0

 

constructor(value: SectionReader)

 

SectionReader(SectionReader value)

 

init(_ value: SectionReader)

 

Sub New(value As SectionReader)

Parameters:

  • value:

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) Island

 

constructor(value: SectionReader)

 

SectionReader(SectionReader value)

 

init(_ value: SectionReader)

 

Sub New(value As SectionReader)

Parameters:

  • value:

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

 

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

 

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

 

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

 

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

 

Function Read(p As Slice<Byte>) As Tuple (Of Int64, error)

Parameters:

  • p:

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

 

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

 

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

 

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

 

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

 

Function Read(p As Slice<Byte>) As Tuple (Of Int64, 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) -> (Int64, error)

 

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

 

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

Parameters:

  • p:
  • off:

Seek

 

method Seek(offset: int64; whence: int): tuple of (int64, error)

 

(int64, error) Seek(int64 offset, int whence)

 

func Seek(_ offset: int64, _ whence: int) -> (int64, error)

 

func Seek(offset int64, whence int) (int64, error)

 

Function Seek(offset As int64, whence As int) As Tuple (Of int64, error)

Parameters:

  • offset:
  • whence:

Size

 

method Size: int64

 

int64 Size()

 

func Size() -> int64

 

func Size() int64

 

Function Size() As int64