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; }
Shared ReadOnly Property ASCII() As Encoding
Default
class property Default: Encoding read;
class Encoding Default { get; }
static var Default: Encoding { get{} }
class Encoding Default { __get; }
Shared ReadOnly Property Default() As Encoding
method GetBytes(Value: array of Char): array of Byte
Byte[] GetBytes(Char[] Value)
func GetBytes(_ Value: Char...) -> Byte...
Byte[] GetBytes(Char[] Value)
Function GetBytes(Value As Char()) As Byte()
Parameters:
- Value:
method GetBytes(Value: String): array of Byte
Byte[] GetBytes(String Value)
func GetBytes(_ Value: String) -> Byte...
Byte[] GetBytes(String Value)
Function GetBytes(Value As String) As Byte()
Parameters:
- Value:
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)
Function GetBytes(Value As Char(), Offset As Int32, Count As Int32) As Byte()
Parameters:
- Value:
- Offset:
- Count:
method GetChars(Value: array of Byte): array of Char
Char[] GetChars(Byte[] Value)
func GetChars(_ Value: Byte...) -> Char...
Char[] GetChars(Byte[] Value)
Function GetChars(Value As Byte()) As Char()
Parameters:
- Value:
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)
Function GetChars(Value As Byte(), Offset As Int32, Count As Int32) As Char()
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)
Shared Function GetEncoding(aName As String) As Encoding
Parameters:
- aName:
method GetString(Value: array of Byte): String
String GetString(Byte[] Value)
func GetString(_ Value: Byte...) -> String
String GetString(Byte[] Value)
Function GetString(Value As Byte()) As String
Parameters:
- Value:
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)
Function GetString(Value As Byte(), Offset As Int32, Count As Int32) As String
Parameters:
- Value:
- Offset:
- Count:
Name
property Name: String read;
String Name { get; }
var Name: String { get{} }
String Name { __get; }
ReadOnly Property Name() As String
UTF16BE
class property UTF16BE: Encoding read;
class Encoding UTF16BE { get; }
static var UTF16BE: Encoding { get{} }
class Encoding UTF16BE { __get; }
Shared ReadOnly Property UTF16BE() As Encoding
UTF16LE
class property UTF16LE: Encoding read;
class Encoding UTF16LE { get; }
static var UTF16LE: Encoding { get{} }
class Encoding UTF16LE { __get; }
Shared ReadOnly Property UTF16LE() As Encoding
UTF8
ASCII
class property ASCII: Encoding read;
class Encoding ASCII { get; }
static var ASCII: Encoding { get{} }
class Encoding ASCII { __get; }
Shared ReadOnly Property ASCII() As Encoding
Default
class property Default: Encoding read;
class Encoding Default { get; }
static var Default: Encoding { get{} }
class Encoding Default { __get; }
Shared ReadOnly Property Default() As Encoding
Name
property Name: String read;
String Name { get; }
var Name: String { get{} }
String Name { __get; }
ReadOnly Property Name() As String
UTF16BE
class property UTF16BE: Encoding read;
class Encoding UTF16BE { get; }
static var UTF16BE: Encoding { get{} }
class Encoding UTF16BE { __get; }
Shared ReadOnly Property UTF16BE() As Encoding
UTF16LE
class property UTF16LE: Encoding read;
class Encoding UTF16LE { get; }
static var UTF16LE: Encoding { get{} }
class Encoding UTF16LE { __get; }
Shared ReadOnly Property UTF16LE() As Encoding
UTF8
GetEncoding
class method GetEncoding(aName: String): Encoding
static Encoding GetEncoding(String aName)
static func GetEncoding(_ aName: String) -> Encoding
static Encoding GetEncoding(String aName)
Shared Function GetEncoding(aName As String) As Encoding
Parameters:
- aName:
method GetBytes(Value: array of Char): array of Byte
Byte[] GetBytes(Char[] Value)
func GetBytes(_ Value: Char...) -> Byte...
Byte[] GetBytes(Char[] Value)
Function GetBytes(Value As Char()) As Byte()
Parameters:
- Value:
method GetBytes(Value: String): array of Byte
Byte[] GetBytes(String Value)
func GetBytes(_ Value: String) -> Byte...
Byte[] GetBytes(String Value)
Function GetBytes(Value As String) As Byte()
Parameters:
- Value:
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)
Function GetBytes(Value As Char(), Offset As Int32, Count As Int32) As Byte()
Parameters:
- Value:
- Offset:
- Count:
method GetChars(Value: array of Byte): array of Char
Char[] GetChars(Byte[] Value)
func GetChars(_ Value: Byte...) -> Char...
Char[] GetChars(Byte[] Value)
Function GetChars(Value As Byte()) As Char()
Parameters:
- Value:
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)
Function GetChars(Value As Byte(), Offset As Int32, Count As Int32) As Char()
Parameters:
- Value:
- Offset:
- Count:
method GetString(Value: array of Byte): String
String GetString(Byte[] Value)
func GetString(_ Value: Byte...) -> String
String GetString(Byte[] Value)
Function GetString(Value As Byte()) As String
Parameters:
- Value:
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)
Function GetString(Value As Byte(), Offset As Int32, Count As Int32) As String
Parameters:
- Value:
- Offset:
- Count: