public static class ByteString.TrSubString extends ByteString.Concrete
ByteString.Concrete, ByteString.Empty, ByteString.SubString, ByteString.TrSubString
Modifier and Type | Field and Description |
---|---|
protected int |
length_
_more_
|
ba_
nada
Constructor and Description |
---|
TrSubString(byte[] ba,
boolean share,
int length)
_more_
|
TrSubString(ByteString.Concrete bs,
int length)
_more_
|
Modifier and Type | Method and Description |
---|---|
byte |
byteAt(int ii)
_more_
|
byte[] |
copyBytes(int srcpos,
byte[] dst,
int dstpos,
int nbytes)
_more_
|
int |
getLength()
_more_
|
byte[] |
toArray()
_more_
|
subByteString, substring
public TrSubString(byte[] ba, boolean share, int length)
ba
- share
- length
- public TrSubString(ByteString.Concrete bs, int length)
bs
- length
- public int getLength()
getLength
in class ByteString.Concrete
public byte byteAt(int ii)
byteAt
in class ByteString.Concrete
ii
- public byte[] copyBytes(int srcpos, byte[] dst, int dstpos, int nbytes)
copyBytes
in class ByteString.Concrete
srcpos
- dst
- dstpos
- nbytes
- public byte[] toArray()
toArray
in class ByteString.Concrete