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 ByteStringByteString.bytesDefaultValue(String bytes) Helper called by generated code to construct default values for bytes fields.static ByteStringByteString.copyFrom(byte[] bytes) Copies the given bytes into aByteString.static ByteStringByteString.copyFrom(byte[] bytes, int offset, int size) Copies the given bytes into aByteString.static ByteStringEncodestextinto a sequence of bytes using the named charset and returns the result as aByteString.static ByteStringByteString.copyFromUtf8(String text) Encodestextinto a sequence of UTF-8 bytes and returns the result as aByteString.ByteArrayInput.readBytes()ByteBufferInput.readBytes()CodedInput.readBytes()Read abytesfield value from the stream.FilterInput.readBytes()Input.readBytes()Reads aByteStringfield value.JsonInput.readBytes()KvpByteArrayInput.readBytes()KvpInput.readBytes()XmlInput.readBytes()(package private) static ByteStringByteString.wrap(byte[] bytes) Methods in io.protostuff with parameters of type ByteStringModifier and TypeMethodDescriptionstatic booleanByteString.equals(ByteString bs, ByteString other, boolean checkHash) Returns true if the contents of both match.voidFilterOutput.writeBytes(int fieldNumber, ByteString value, boolean repeated) voidJsonOutput.writeBytes(int fieldNumber, ByteString value, boolean repeated) voidJsonXOutput.writeBytes(int fieldNumber, ByteString value, boolean repeated) voidKvpOutput.writeBytes(int fieldNumber, ByteString value, boolean repeated) voidLowCopyProtobufOutput.writeBytes(int fieldNumber, ByteString value, boolean repeated) voidLowCopyProtostuffOutput.writeBytes(int fieldNumber, ByteString value, boolean repeated) voidOutput.writeBytes(int fieldNumber, ByteString value, boolean repeated) Writes a ByteString(wraps byte array) field.voidProtobufOutput.writeBytes(int fieldNumber, ByteString value, boolean repeated) voidProtostuffOutput.writeBytes(int fieldNumber, ByteString value, boolean repeated) voidXmlOutput.writeBytes(int fieldNumber, ByteString value, boolean repeated) voidXmlXOutput.writeBytes(int fieldNumber, ByteString value, boolean repeated) voidYamlOutput.writeBytes(int fieldNumber, ByteString value, boolean repeated) static voidByteString.writeTo(Output output, ByteString bs, int fieldNumber, boolean repeated) Writes the bytes to theOutput.static voidByteString.writeTo(DataOutput out, ByteString bs) Writes the bytes to theDataOutput.static voidByteString.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.BYTESstatic final RuntimeFieldFactory<ByteString> RuntimeReflectionFieldFactory.BYTESstatic final RuntimeFieldFactory<ByteString> RuntimeUnsafeFieldFactory.BYTES