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 UbRemoteString
public byte[] getStringPart(VUnsigned from, VUnsigned length)
getStringPart
in interface UbRemoteString
public <T extends UbDeviceNs> T cast(Class<T> dst)
cast
in interface UbDeviceNs
public <T extends UbDeviceNs> T customNs(Class<T> dst, short num)
customNs
in interface UbDeviceNs
Copyright © 2020. All rights reserved.