EncodingHelpers

Overview

Location

  • Reference: Sugar
  • Namespace: Sugar

Class Methods


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

 

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

 

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

 

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

 

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

Parameters:

  • aEncoding:
  • Value:
  • Offset:
  • Count:

GetBytes (Encoding, String): array of Byte

 

class method GetBytes(aEncoding: Encoding; Value: String): array of Byte

 

static Byte[] GetBytes(Encoding aEncoding, String Value)

 

static func GetBytes(_ aEncoding: Encoding, _ Value: String) -> Byte...

 

static Byte[] GetBytes(Encoding aEncoding, String Value)

Parameters:

  • aEncoding:
  • Value:

GetChars

 

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

 

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

 

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

 

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

Parameters:

  • aEncoding:
  • 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

 

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

 

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

 

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

 

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

Parameters:

  • aEncoding:
  • Value:
  • Offset:
  • Count: