Global

Location

Methods


DetermineEncoding

 

class method DetermineEncoding(content: Slice<Byte>; contentType: string): tuple of (e: Encoding, name: string, certain: Boolean)

 

static (Encoding e, string name, Boolean certain) DetermineEncoding(Slice<Byte> content, string contentType)

 

static func DetermineEncoding(_ content: Slice<Byte>, _ contentType: string) -> (e:Encoding, name:string, certain:Boolean)

 

func DetermineEncoding(content Slice<Byte>, contentType string) (e Encoding, name string, certain Boolean)

 

Shared Function DetermineEncoding(content As Slice<Byte>, contentType As string) As Tuple (Of e:=Encoding, name:=string, certain:=Boolean)

Parameters:

  • content:
  • contentType:

Lookup

 

class method Lookup(label: string): tuple of (e: Encoding, name: string)

 

static (Encoding e, string name) Lookup(string label)

 

static func Lookup(_ label: string) -> (e:Encoding, name:string)

 

func Lookup(label string) (e Encoding, name string)

 

Shared Function Lookup(label As string) As Tuple (Of e:=Encoding, name:=string)

Parameters:

  • label:

NewReader

 

// .NET, Island
class method NewReader(r: Reader; contentType: string): tuple of (Reader, error)
// .NET Standard 2.0
class method NewReader(r: Reader; contentType: string): ValueTuple<Reader, error>

 

// .NET, Island
static (Reader, error) NewReader(Reader r, string contentType)
// .NET Standard 2.0
static ValueTuple<Reader, error> NewReader(Reader r, string contentType)

 

// .NET, Island
static func NewReader(_ r: Reader, _ contentType: string) -> (Reader, error)
// .NET Standard 2.0
static func NewReader(_ r: Reader, _ contentType: string) -> ValueTuple<Reader, error>

 

// .NET, Island
func NewReader(r Reader, contentType string) (Reader, error)
// .NET Standard 2.0
func NewReader(r Reader, contentType string) ValueTuple<Reader, error>

 

// .NET, Island
Shared Function NewReader(r As Reader, contentType As string) As Tuple (Of Reader, error)
// .NET Standard 2.0
Shared Function NewReader(r As Reader, contentType As string) As ValueTuple<Reader, error>

Parameters:

  • r:
  • contentType:

NewReaderLabel

 

// .NET, Island
class method NewReaderLabel(label: string; input: Reader): tuple of (Reader, error)
// .NET Standard 2.0
class method NewReaderLabel(label: string; input: Reader): ValueTuple<Reader, error>

 

// .NET, Island
static (Reader, error) NewReaderLabel(string label, Reader input)
// .NET Standard 2.0
static ValueTuple<Reader, error> NewReaderLabel(string label, Reader input)

 

// .NET, Island
static func NewReaderLabel(_ label: string, _ input: Reader) -> (Reader, error)
// .NET Standard 2.0
static func NewReaderLabel(_ label: string, _ input: Reader) -> ValueTuple<Reader, error>

 

// .NET, Island
func NewReaderLabel(label string, input Reader) (Reader, error)
// .NET Standard 2.0
func NewReaderLabel(label string, input Reader) ValueTuple<Reader, error>

 

// .NET, Island
Shared Function NewReaderLabel(label As string, input As Reader) As Tuple (Of Reader, error)
// .NET Standard 2.0
Shared Function NewReaderLabel(label As string, input As Reader) As ValueTuple<Reader, error>

Parameters:

  • label:
  • input: