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 ByteStringByteString. EMPTYEmpty ByteString.Methods in io.protostuff that return ByteString Modifier and Type Method Description static ByteStringByteString. bytesDefaultValue(java.lang.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 ByteStringByteString. copyFrom(java.lang.String text, java.lang.String charsetName)Encodestextinto a sequence of bytes using the named charset and returns the result as aByteString.static ByteStringByteString. copyFromUtf8(java.lang.String text)Encodestextinto a sequence of UTF-8 bytes and returns the result as aByteString.ByteStringByteArrayInput. readBytes()ByteStringByteBufferInput. readBytes()ByteStringCodedInput. readBytes()Read abytesfield value from the stream.ByteStringFilterInput. readBytes()ByteStringInput. readBytes()Reads aByteStringfield value.ByteStringJsonInput. readBytes()ByteStringKvpByteArrayInput. readBytes()ByteStringKvpInput. readBytes()ByteStringXmlInput. readBytes()(package private) static ByteStringByteString. wrap(byte[] bytes)Methods in io.protostuff with parameters of type ByteString Modifier and Type Method Description static 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(java.io.DataOutput out, ByteString bs)Writes the bytes to theDataOutput.static voidByteString. 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. BYTESstatic RuntimeFieldFactory<ByteString>RuntimeReflectionFieldFactory. BYTESstatic RuntimeFieldFactory<ByteString>RuntimeUnsafeFieldFactory. BYTES
-