public class UbString extends Object implements UbRemoteString
| Modifier and Type | Field and Description |
|---|---|
protected byte[] |
bytes |
protected VSigned |
length |
String |
string |
| Modifier and Type | Method and Description |
|---|---|
<T extends UbDeviceNs> |
cast(Class<T> dst) |
<T extends UbDeviceNs> |
customNs(Class<T> dst,
short num) |
VSigned |
getLength() |
byte[] |
getStringPart(VUnsigned from,
VUnsigned length) |
public final String string
protected VSigned length
protected byte[] bytes
public UbString(String string)
public VSigned getLength()
getLength in interface UbRemoteStringpublic byte[] getStringPart(VUnsigned from, VUnsigned length)
getStringPart in interface UbRemoteStringpublic <T extends UbDeviceNs> T cast(Class<T> dst)
cast in interface UbDeviceNspublic <T extends UbDeviceNs> T customNs(Class<T> dst, short num)
customNs in interface UbDeviceNsCopyright © 2020. All rights reserved.