UTF8String
Overview
UTF8 string type; this type stores strings an an array of bytes.
Location
- Reference: Island.fx
- Namespace: RemObjects.Elements.System
- Ancestry: ValueType | UTF8String
constructor protected (declared in ValueType)
constructor
UTF8String()
init()
UTF8String()
Sub New()
constructor (array of Byte)
Creates a new instance of this class
constructor(aData: array of Byte)
UTF8String(Byte[] aData)
init(_ aData: Byte...)
UTF8String(Byte[] aData)
Sub New(aData As Byte())
Parameters:
- aData:
Creates a new instance of this class
Parameters:
- aData:
- aStart:
Creates a new instance of this class
Parameters:
- aData:
- aStart:
- aLength:
Empty
Returns an empty Utf8 string
class property Empty: UTF8String read;
class UTF8String Empty { get; }
static var Empty: UTF8String { get{} }
class UTF8String Empty { __get; }
Shared ReadOnly Property Empty() As UTF8String
Equals virtual (declared in Object)
Default constructor.
Parameters:
- aOther: the reference to compare this with.
Finalize protected virtual (declared in Object)
method Finalize
void Finalize()
func Finalize()
void Finalize()
Sub Finalize()
GetHashCode override virtual
Returns a hashcode for this object. Overriden implementations should make sure that the number returned here is constant given the same object.
method GetHashCode: Int32
Int32 GetHashCode()
func GetHashCode() -> Int32
Int32 GetHashCode()
Function GetHashCode() As Int32
GetType (declared in Object)
Returns the actual type of this class
method GetType: Type
Type GetType()
func GetType() -> Type
Type GetType()
Function GetType() As Type
Item
Index accessor for this type. Uses indexing based on byte offset.
Length
Returns the length of this string.
property Length: Int32 read;
Int32 Length { get; }
var Length: Int32 { get{} }
Int32 Length { __get; }
ReadOnly Property Length() As Int32
ReferenceEquals (declared in Object)
Compares two references for equivalence (even if they have an equals operator)
Parameters:
- a: left value
- b: right value
Substring (Int32): UTF8String
Returns a substring of this type. Uses indexing based on byte offset
method Substring(aStart: Int32): UTF8String
UTF8String Substring(Int32 aStart)
func Substring(_ aStart: Int32) -> UTF8String
UTF8String Substring(Int32 aStart)
Function Substring(aStart As Int32) As UTF8String
Parameters:
- aStart:
Substring (Int32, Int32): UTF8String
Returns a substring of this type. Uses indexing based on byte offset
method Substring(aStart: Int32; aLength: Int32): UTF8String
UTF8String Substring(Int32 aStart, Int32 aLength)
func Substring(_ aStart: Int32, _ aLength: Int32) -> UTF8String
UTF8String Substring(Int32 aStart, Int32 aLength)
Function Substring(aStart As Int32, aLength As Int32) As UTF8String
Parameters:
- aStart:
- aLength:
ToString override virtual
Gets the string representation of this method.
Item
Index accessor for this type. Uses indexing based on byte offset.
Length
Returns the length of this string.
property Length: Int32 read;
Int32 Length { get; }
var Length: Int32 { get{} }
Int32 Length { __get; }
ReadOnly Property Length() As Int32
Empty
Returns an empty Utf8 string
class property Empty: UTF8String read;
class UTF8String Empty { get; }
static var Empty: UTF8String { get{} }
class UTF8String Empty { __get; }
Shared ReadOnly Property Empty() As UTF8String
ReferenceEquals (declared in Object)
Compares two references for equivalence (even if they have an equals operator)
Parameters:
- a: left value
- b: right value
constructor protected (declared in ValueType)
constructor
UTF8String()
init()
UTF8String()
Sub New()
constructor (array of Byte)
Creates a new instance of this class
constructor(aData: array of Byte)
UTF8String(Byte[] aData)
init(_ aData: Byte...)
UTF8String(Byte[] aData)
Sub New(aData As Byte())
Parameters:
- aData:
Creates a new instance of this class
Parameters:
- aData:
- aStart:
Creates a new instance of this class
Parameters:
- aData:
- aStart:
- aLength:
Equals virtual (declared in Object)
Default constructor.
Parameters:
- aOther: the reference to compare this with.
Finalize protected virtual (declared in Object)
method Finalize
void Finalize()
func Finalize()
void Finalize()
Sub Finalize()
GetHashCode override virtual
Returns a hashcode for this object. Overriden implementations should make sure that the number returned here is constant given the same object.
method GetHashCode: Int32
Int32 GetHashCode()
func GetHashCode() -> Int32
Int32 GetHashCode()
Function GetHashCode() As Int32
GetType (declared in Object)
Returns the actual type of this class
method GetType: Type
Type GetType()
func GetType() -> Type
Type GetType()
Function GetType() As Type
Substring (Int32): UTF8String
Returns a substring of this type. Uses indexing based on byte offset
method Substring(aStart: Int32): UTF8String
UTF8String Substring(Int32 aStart)
func Substring(_ aStart: Int32) -> UTF8String
UTF8String Substring(Int32 aStart)
Function Substring(aStart As Int32) As UTF8String
Parameters:
- aStart:
Substring (Int32, Int32): UTF8String
Returns a substring of this type. Uses indexing based on byte offset
method Substring(aStart: Int32; aLength: Int32): UTF8String
UTF8String Substring(Int32 aStart, Int32 aLength)
func Substring(_ aStart: Int32, _ aLength: Int32) -> UTF8String
UTF8String Substring(Int32 aStart, Int32 aLength)
Function Substring(aStart As Int32, aLength As Int32) As UTF8String
Parameters:
- aStart:
- aLength:
ToString override virtual
Gets the string representation of this method.