public class ByteString extends Object
| Constructor and Description |
|---|
ByteString(byte[] bytes,
Charset charset) |
| Modifier and Type | Method and Description |
|---|---|
Charset |
charset() |
boolean |
equals(byte[] bytes) |
byte[] |
getBytes() |
String |
getMappablePrefix() |
String |
getMappableSuffix() |
String |
getString() |
boolean |
isMappable() |
int |
length() |
ByteString |
revert() |
public ByteString(byte[] bytes,
Charset charset)
public byte[] getBytes()
public int length()
public Charset charset()
public String getString()
public String getMappableSuffix()
public String getMappablePrefix()
public boolean isMappable()
public boolean equals(byte[] bytes)
public ByteString revert()
Copyright © 2016. All rights reserved.