Encoding

Overview

Location

  • Reference: Sugar
  • Namespace: Sugar

 

ASCII

 

class property ASCII: Encoding read;

 

class Encoding ASCII { get; }

 

static var ASCII: Encoding { get{} }

 

class Encoding ASCII { __get; }

Default

 

class property Default: Encoding read;

 

class Encoding Default { get; }

 

static var Default: Encoding { get{} }

 

class Encoding Default { __get; }

GetBytes (array of Char): array of Byte  mapped

 

method GetBytes(Value: array of Char): array of Byte

 

Byte[] GetBytes(Char[] Value)

 

func GetBytes(_ Value: Char...) -> Byte...

 

Byte[] GetBytes(Char[] Value)

Parameters:

  • Value:

GetBytes (String): array of Byte  mapped

 

method GetBytes(Value: String): array of Byte

 

Byte[] GetBytes(String Value)

 

func GetBytes(_ Value: String) -> Byte...

 

Byte[] GetBytes(String Value)

Parameters:

  • Value:

GetBytes (array of Char, Int32, Int32): array of Byte  mapped

 

method GetBytes(Value: array of Char; Offset: Int32; Count: Int32): array of Byte

 

Byte[] GetBytes(Char[] Value, Int32 Offset, Int32 Count)

 

func GetBytes(_ Value: Char..., _ Offset: Int32, _ Count: Int32) -> Byte...

 

Byte[] GetBytes(Char[] Value, Int32 Offset, Int32 Count)

Parameters:

  • Value:
  • Offset:
  • Count:

GetChars (array of Byte): array of Char  mapped

 

method GetChars(Value: array of Byte): array of Char

 

Char[] GetChars(Byte[] Value)

 

func GetChars(_ Value: Byte...) -> Char...

 

Char[] GetChars(Byte[] Value)

Parameters:

  • Value:

GetChars (array of Byte, Int32, Int32): array of Char  mapped

 

method GetChars(Value: array of Byte; Offset: Int32; Count: Int32): array of Char

 

Char[] GetChars(Byte[] Value, Int32 Offset, Int32 Count)

 

func GetChars(_ Value: Byte..., _ Offset: Int32, _ Count: Int32) -> Char...

 

Char[] GetChars(Byte[] Value, Int32 Offset, Int32 Count)

Parameters:

  • Value:
  • Offset:
  • Count:

GetEncoding

 

class method GetEncoding(aName: String): Encoding

 

static Encoding GetEncoding(String aName)

 

static func GetEncoding(_ aName: String) -> Encoding

 

static Encoding GetEncoding(String aName)

Parameters:

  • aName:

GetString (array of Byte): String  mapped

 

method GetString(Value: array of Byte): String

 

String GetString(Byte[] Value)

 

func GetString(_ Value: Byte...) -> String

 

String GetString(Byte[] Value)

Parameters:

  • Value:

GetString (array of Byte, Int32, Int32): String  mapped

 

method GetString(Value: array of Byte; Offset: Int32; Count: Int32): String

 

String GetString(Byte[] Value, Int32 Offset, Int32 Count)

 

func GetString(_ Value: Byte..., _ Offset: Int32, _ Count: Int32) -> String

 

String GetString(Byte[] Value, Int32 Offset, Int32 Count)

Parameters:

  • Value:
  • Offset:
  • Count:

Name

 

property Name: String read;

 

String Name { get; }

 

var Name: String { get{} }

 

String Name { __get; }

UTF16BE

 

class property UTF16BE: Encoding read;

 

class Encoding UTF16BE { get; }

 

static var UTF16BE: Encoding { get{} }

 

class Encoding UTF16BE { __get; }

UTF16LE

 

class property UTF16LE: Encoding read;

 

class Encoding UTF16LE { get; }

 

static var UTF16LE: Encoding { get{} }

 

class Encoding UTF16LE { __get; }

UTF8

 

class property UTF8: Encoding read;

 

class Encoding UTF8 { get; }

 

static var UTF8: Encoding { get{} }

 

class Encoding UTF8 { __get; }

 

ASCII

 

class property ASCII: Encoding read;

 

class Encoding ASCII { get; }

 

static var ASCII: Encoding { get{} }

 

class Encoding ASCII { __get; }

Default

 

class property Default: Encoding read;

 

class Encoding Default { get; }

 

static var Default: Encoding { get{} }

 

class Encoding Default { __get; }

Name

 

property Name: String read;

 

String Name { get; }

 

var Name: String { get{} }

 

String Name { __get; }

UTF16BE

 

class property UTF16BE: Encoding read;

 

class Encoding UTF16BE { get; }

 

static var UTF16BE: Encoding { get{} }

 

class Encoding UTF16BE { __get; }

UTF16LE

 

class property UTF16LE: Encoding read;

 

class Encoding UTF16LE { get; }

 

static var UTF16LE: Encoding { get{} }

 

class Encoding UTF16LE { __get; }

UTF8

 

class property UTF8: Encoding read;

 

class Encoding UTF8 { get; }

 

static var UTF8: Encoding { get{} }

 

class Encoding UTF8 { __get; }

 

GetEncoding

 

class method GetEncoding(aName: String): Encoding

 

static Encoding GetEncoding(String aName)

 

static func GetEncoding(_ aName: String) -> Encoding

 

static Encoding GetEncoding(String aName)

Parameters:

  • aName:

 

GetBytes (array of Char): array of Byte  mapped

 

method GetBytes(Value: array of Char): array of Byte

 

Byte[] GetBytes(Char[] Value)

 

func GetBytes(_ Value: Char...) -> Byte...

 

Byte[] GetBytes(Char[] Value)

Parameters:

  • Value:

GetBytes (String): array of Byte  mapped

 

method GetBytes(Value: String): array of Byte

 

Byte[] GetBytes(String Value)

 

func GetBytes(_ Value: String) -> Byte...

 

Byte[] GetBytes(String Value)

Parameters:

  • Value:

GetBytes (array of Char, Int32, Int32): array of Byte  mapped

 

method GetBytes(Value: array of Char; Offset: Int32; Count: Int32): array of Byte

 

Byte[] GetBytes(Char[] Value, Int32 Offset, Int32 Count)

 

func GetBytes(_ Value: Char..., _ Offset: Int32, _ Count: Int32) -> Byte...

 

Byte[] GetBytes(Char[] Value, Int32 Offset, Int32 Count)

Parameters:

  • Value:
  • Offset:
  • Count:

GetChars (array of Byte): array of Char  mapped

 

method GetChars(Value: array of Byte): array of Char

 

Char[] GetChars(Byte[] Value)

 

func GetChars(_ Value: Byte...) -> Char...

 

Char[] GetChars(Byte[] Value)

Parameters:

  • Value:

GetChars (array of Byte, Int32, Int32): array of Char  mapped

 

method GetChars(Value: array of Byte; Offset: Int32; Count: Int32): array of Char

 

Char[] GetChars(Byte[] Value, Int32 Offset, Int32 Count)

 

func GetChars(_ Value: Byte..., _ Offset: Int32, _ Count: Int32) -> Char...

 

Char[] GetChars(Byte[] Value, Int32 Offset, Int32 Count)

Parameters:

  • Value:
  • Offset:
  • Count:

GetString (array of Byte): String  mapped

 

method GetString(Value: array of Byte): String

 

String GetString(Byte[] Value)

 

func GetString(_ Value: Byte...) -> String

 

String GetString(Byte[] Value)

Parameters:

  • Value:

GetString (array of Byte, Int32, Int32): String  mapped

 

method GetString(Value: array of Byte; Offset: Int32; Count: Int32): String

 

String GetString(Byte[] Value, Int32 Offset, Int32 Count)

 

func GetString(_ Value: Byte..., _ Offset: Int32, _ Count: Int32) -> String

 

String GetString(Byte[] Value, Int32 Offset, Int32 Count)

Parameters:

  • Value:
  • Offset:
  • Count: