abstract public class Encoder
Modifier and Type | Method |
---|---|
abstract IntNumber |
convertChar(CharValue ch, system'ByteNumber[] byteArray, IntNumber index)
|
abstract CharValue |
convertToChar(system'ByteNumber[] byteArray, IntNumber index, ref IntNumber length)
|
IntNumber |
convertFrom(system'ByteNumber[] byteArray, IntNumber index, ref IntNumber len, system'CharValue[] output, IntNumber outputIndex, IntNumber outputLen)
|
IntNumber |
convertTo(system'CharValue[] chars, IntNumber index, ref IntNumber len, system'ByteNumber[] output, IntNumber outputIndex, IntNumber outputLen)
|
IntNumber |
toByteArray(String s, IntNumber index, ref IntNumber length, system'ByteNumber[] output, IntNumber outputIndex, IntNumber outputLength)
|
String |
toString(IntNumber index, IntNumber length, system'ByteNumber[] buffer)
|
WideString |
toWideString(IntNumber index, IntNumber size, system'ByteNumber[] buffer, Encoder encoder)
|
public class StringBuilder
Modifier and Type | Field |
---|---|
system'ByteNumber[] |
_buffer
|
Reference<system'IntNumber> |
_length
|
Modifier and Type | Constructor / Static Method |
---|---|
StringBuilder |
constructor()
|
Modifier and Type | Method |
---|---|
|
insert(index, o)
|
|
write(CharValue ch)
|
|
write(String s)
|
|
wide(o)
|
|
insert(IntNumber index, CharValue ch)
|
|
insert(IntNumber index, String s)
|
|
delete(IntNumber index, IntNumber length)
|
public class TextBuilder
Modifier and Type | Field |
---|---|
system'CharValue[] |
_buffer
|
Reference<system'IntNumber> |
_length
|
Modifier and Type | Constructor / Static Method |
---|---|
TextBuilder |
constructor()
|
TextBuilder |
load(value)
|
Modifier and Type | Property |
---|---|
get IntNumber |
Length()
|
set |
Length(IntNumber len)
|
get String |
Value()
|
set WideString |
Value(ref WideString arg1)
|
Modifier and Type | Conversion Method |
---|---|
system'CharValue[] |
cast()
|
String |
cast()
|
WideString |
cast()
|
Modifier and Type | Method |
---|---|
String |
toPrintable()
|
|
dispatch()
|
|
write(object)
|
|
clear()
|
|
writeLine()
|
|
append(line)
|
|
write(String s)
|
|
write(WideString s)
|
|
write(CharValue ch)
|
|
write(system'CharValue[] array, IntNumber length)
|
|
writeFormatted(String s, params Object[] args)
|
|
fill(String s, IntNumber counter)
|
|
fill(WideString s, IntNumber counter)
|
|
fill(CharValue ch, IntNumber counter)
|
|
insert(IntNumber index, IntNumber length, system'CharValue[] array)
|
|
insert(IntNumber index, String s)
|
|
insert(IntNumber index, WideString s)
|
|
insert(IntNumber index, CharValue ch)
|
IntNumber |
indexOf(IntNumber position, CharValue value)
|
IntNumber |
indexOf(IntNumber pos, String s)
|
IntNumber |
indexOf(IntNumber pos, WideString s)
|
String |
Substring(IntNumber index, IntNumber length)
|
WideString |
WideSubstring(IntNumber index, IntNumber length)
|
|
delete(IntNumber index, IntNumber length)
|
|
trim(IntNumber n)
|
public singleton UTF16Encoder
Modifier and Type | Method |
---|---|
IntNumber |
convertChar(CharValue ch, system'ByteNumber[] byteArray, IntNumber index)
|
CharValue |
convertToChar(system'ByteNumber[] byteArray, IntNumber index, ref IntNumber chLen)
|
public singleton UTF16Encoding
Modifier and Type | Method |
---|---|
CharValue |
toChar(ShortNumber w)
|
CharValue |
toChar(system'ShortNumber[] shortArray, IntNumber index, ref IntNumber length)
|
WideString |
toWideString(IntNumber index, IntNumber size, system'ShortNumber[] buffer)
|
|
toShortArray(WideString s, IntNumber index, IntNumber length, system'ShortNumber[] output, IntNumber outputIndex)
|
|
toShortArray(CharValue ch, system'ShortNumber[] output, IntNumber outputIndex, ref IntNumber len)
|
IntNumber |
getCharCount(WideString s)
|
public singleton UTF8Encoder
Modifier and Type | Method |
---|---|
IntNumber |
convertChar(CharValue ch, system'ByteNumber[] byteArray, IntNumber index)
|
CharValue |
convertToChar(system'ByteNumber[] byteArray, IntNumber index, ref IntNumber sourLen)
|
public singleton UTF8Encoding
Modifier and Type | Method |
---|---|
CharValue |
toChar(ByteNumber b)
|
String |
toString(IntNumber index, IntNumber size, system'ByteNumber[] buffer)
|
IntNumber |
getCharCount(String s)
|
public class WideStringBuilder
Modifier and Type | Field |
---|---|
system'ShortNumber[] |
_buffer
|
Reference<system'IntNumber> |
_length
|
Modifier and Type | Constructor / Static Method |
---|---|
WideStringBuilder |
constructor()
|
Modifier and Type | Method |
---|---|
|
insert(index, o)
|
|
write(CharValue ch)
|
|
write(WideString s)
|
|
wide(o)
|
|
insert(IntNumber index, CharValue ch)
|
|
insert(IntNumber index, WideString s)
|
|
delete(IntNumber index, IntNumber length)
|
public class WinEncoder
Modifier and Type | Field |
---|---|
IntNumber |
codePage
|
Modifier and Type | Constructor / Static Method |
---|---|
WinEncoder |
constructor(IntNumber codePage)
|
Modifier and Type | Method |
---|---|
IntNumber |
convertChar(CharValue ch, system'ByteNumber[] byteArray, IntNumber index)
|
CharValue |
convertToChar(system'ByteNumber[] byteArray, IntNumber index, ref IntNumber length)
|