Uses of Class
io.protostuff.ByteString
-
Packages that use ByteString Package Description io.protostuff io.protostuff.runtime -
-
Uses of ByteString in io.protostuff
Fields in io.protostuff declared as ByteString Modifier and Type Field Description static ByteString
ByteString. EMPTY
Empty ByteString.Methods in io.protostuff that return ByteString Modifier and Type Method Description 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 aByteString
.static ByteString
ByteString. copyFrom(byte[] bytes, int offset, int size)
Copies the given bytes into aByteString
.static ByteString
ByteString. copyFrom(java.lang.String text, java.lang.String charsetName)
Encodestext
into a sequence of bytes using the named charset and returns the result as aByteString
.static ByteString
ByteString. copyFromUtf8(java.lang.String text)
Encodestext
into a sequence of UTF-8 bytes and returns the result as aByteString
.ByteString
ByteArrayInput. readBytes()
ByteString
ByteBufferInput. readBytes()
ByteString
CodedInput. readBytes()
Read abytes
field value from the stream.ByteString
FilterInput. readBytes()
ByteString
Input. readBytes()
Reads aByteString
field value.ByteString
JsonInput. readBytes()
ByteString
KvpByteArrayInput. readBytes()
ByteString
KvpInput. readBytes()
ByteString
XmlInput. readBytes()
(package private) static ByteString
ByteString. wrap(byte[] bytes)
Methods in io.protostuff with parameters of type ByteString Modifier and Type Method Description static boolean
ByteString. equals(ByteString bs, ByteString other, boolean checkHash)
Returns true if the contents of both match.void
FilterOutput. writeBytes(int fieldNumber, ByteString value, boolean repeated)
void
JsonOutput. writeBytes(int fieldNumber, ByteString value, boolean repeated)
void
JsonXOutput. writeBytes(int fieldNumber, ByteString value, boolean repeated)
void
KvpOutput. writeBytes(int fieldNumber, ByteString value, boolean repeated)
void
LowCopyProtobufOutput. writeBytes(int fieldNumber, ByteString value, boolean repeated)
void
LowCopyProtostuffOutput. writeBytes(int fieldNumber, ByteString value, boolean repeated)
void
Output. writeBytes(int fieldNumber, ByteString value, boolean repeated)
Writes a ByteString(wraps byte array) field.void
ProtobufOutput. writeBytes(int fieldNumber, ByteString value, boolean repeated)
void
ProtostuffOutput. writeBytes(int fieldNumber, ByteString value, boolean repeated)
void
XmlOutput. writeBytes(int fieldNumber, ByteString value, boolean repeated)
void
XmlXOutput. writeBytes(int fieldNumber, ByteString value, boolean repeated)
void
YamlOutput. writeBytes(int fieldNumber, ByteString value, boolean repeated)
static void
ByteString. writeTo(Output output, ByteString bs, int fieldNumber, boolean repeated)
Writes the bytes to theOutput
.static void
ByteString. writeTo(java.io.DataOutput out, ByteString bs)
Writes the bytes to theDataOutput
.static void
ByteString. writeTo(java.io.OutputStream out, ByteString bs)
Writes the bytes to theOutputStream
. -
Uses of ByteString in io.protostuff.runtime
Fields in io.protostuff.runtime with type parameters of type ByteString Modifier and Type Field Description (package private) static RuntimeFieldFactory<ByteString>
RuntimeFieldFactory. BYTES
static RuntimeFieldFactory<ByteString>
RuntimeReflectionFieldFactory. BYTES
static RuntimeFieldFactory<ByteString>
RuntimeUnsafeFieldFactory. BYTES
-