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) -> (Encoding, string, 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 Encoding, string, 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) -> (Encoding, string)

 

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

 

Shared Function Lookup(label As string) As Tuple (Of Encoding, string)

Parameters:

  • label:

NewReader

 

class method NewReader(r: Reader; contentType: string): tuple of (Reader, error)

 

static (Reader, error) NewReader(Reader r, string contentType)

 

static func NewReader(_ r: Reader, _ contentType: string) -> (Reader, error)

 

func NewReader(r Reader, contentType string) (Reader, error)

 

Shared Function NewReader(r As Reader, contentType As string) As Tuple (Of Reader, error)

Parameters:

  • r:
  • contentType:

NewReaderLabel

 

class method NewReaderLabel(label: string; input: Reader): tuple of (Reader, error)

 

static (Reader, error) NewReaderLabel(string label, Reader input)

 

static func NewReaderLabel(_ label: string, _ input: Reader) -> (Reader, error)

 

func NewReaderLabel(label string, input Reader) (Reader, error)

 

Shared Function NewReaderLabel(label As string, input As Reader) As Tuple (Of Reader, error)

Parameters:

  • label:
  • input: