|
|||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||
| Uses of ByteString in com.dyuproject.protostuff |
|---|
| Fields in com.dyuproject.protostuff declared as ByteString | |
|---|---|
static ByteString |
ByteString.EMPTY
Empty ByteString. |
| Methods in com.dyuproject.protostuff that return ByteString | |
|---|---|
static ByteString |
ByteString.bytesDefaultValue(java.lang.String bytes)
Helper called by generated code to construct default values for bytes fields. |
static ByteString |
ByteString.copyFrom(byte[] bytes)
Copies the given bytes into a ByteString. |
static ByteString |
ByteString.copyFrom(byte[] bytes,
int offset,
int size)
Copies the given bytes into a ByteString. |
static ByteString |
ByteString.copyFrom(java.lang.String text,
java.lang.String charsetName)
Encodes text into a sequence of bytes using the named charset
and returns the result as a ByteString. |
static ByteString |
ByteString.copyFromUtf8(java.lang.String text)
Encodes text into a sequence of UTF-8 bytes and returns the
result as a ByteString. |
ByteString |
FilterInput.readBytes()
|
ByteString |
Input.readBytes()
Reads a ByteString field value. |
| Methods in com.dyuproject.protostuff with parameters of type ByteString | |
|---|---|
static boolean |
ByteString.equals(ByteString bs,
ByteString other,
boolean checkHash)
Returns true if the contents of both match. |
void |
Output.writeBytes(int fieldNumber,
ByteString value,
boolean repeated)
Writes a ByteString(wraps byte array) field. |
void |
FilterOutput.writeBytes(int fieldNumber,
ByteString value,
boolean repeated)
|
static void |
ByteString.writeTo(java.io.DataOutput out,
ByteString bs)
Writes the bytes to the DataOutput. |
static void |
ByteString.writeTo(Output output,
ByteString bs,
int fieldNumber,
boolean repeated)
Writes the bytes to the Output. |
static void |
ByteString.writeTo(java.io.OutputStream out,
ByteString bs)
Writes the bytes to the OutputStream. |
|
|||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||