Uses of Class
io.protostuff.ByteString
Packages that use ByteString
-
Uses of ByteString in io.protostuff
Fields in io.protostuff declared as ByteStringMethods in io.protostuff that return ByteStringModifier and TypeMethodDescriptionstatic ByteString
ByteString.bytesDefaultValue
(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
Encodestext
into a sequence of bytes using the named charset and returns the result as aByteString
.static ByteString
ByteString.copyFromUtf8
(String text) Encodestext
into a sequence of UTF-8 bytes and returns the result as aByteString
.ByteArrayInput.readBytes()
ByteBufferInput.readBytes()
CodedInput.readBytes()
Read abytes
field value from the stream.FilterInput.readBytes()
Input.readBytes()
Reads aByteString
field value.JsonInput.readBytes()
KvpByteArrayInput.readBytes()
KvpInput.readBytes()
XmlInput.readBytes()
(package private) static ByteString
ByteString.wrap
(byte[] bytes) Methods in io.protostuff with parameters of type ByteStringModifier and TypeMethodDescriptionstatic 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
(DataOutput out, ByteString bs) Writes the bytes to theDataOutput
.static void
ByteString.writeTo
(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 ByteStringModifier and TypeFieldDescription(package private) static final RuntimeFieldFactory
<ByteString> RuntimeFieldFactory.BYTES
static final RuntimeFieldFactory
<ByteString> RuntimeReflectionFieldFactory.BYTES
static final RuntimeFieldFactory
<ByteString> RuntimeUnsafeFieldFactory.BYTES