public class UnicodeString extends ZeroTerminatedString
wchar_t *) for Unix platform.LICENSE_TYPE, V| Constructor and Description |
|---|
UnicodeString()
Constructs a string with the maximum length of 256 characters.
|
UnicodeString(int maxLen)
Constructs a string with a specified maximum length.
|
UnicodeString(java.lang.String s)
Constructs a string with a specified value.
|
UnicodeString(java.lang.String s,
int maxLen)
Constructs a string with a specified value and maximum length.
|
UnicodeString(UnicodeString t)
Constructs a copy of a specified
AnsiString object. |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
bytesToString(byte[] bytes) |
java.lang.Object |
clone() |
int |
getAlignmentRequirement() |
protected int |
getStrLen(DataBuffer dataBuffer,
int startOffset) |
protected byte[] |
stringToBytes(java.lang.String value) |
asReturnValue, equals, getAlignedLength, getDebugInfo, getFirstMemberSize, getLength, getMaxLength, getValue, hashCode, read, setValue, toString, writeacceptIOPerformer, dataBufferAssigned, getDataBuffer, getDataBufferOffset, indent, pop, push, read, read, setDataBuffer, toByteArray, writepublic UnicodeString()
public UnicodeString(int maxLen)
public UnicodeString(java.lang.String s)
public UnicodeString(java.lang.String s,
int maxLen)
public UnicodeString(UnicodeString t)
AnsiString object.protected java.lang.String bytesToString(byte[] bytes)
bytesToString in class ZeroTerminatedStringprotected byte[] stringToBytes(java.lang.String value)
stringToBytes in class ZeroTerminatedStringprotected int getStrLen(DataBuffer dataBuffer, int startOffset)
getStrLen in class ZeroTerminatedStringpublic int getAlignmentRequirement()
getAlignmentRequirement in class Parameter