Uses of Interface
io.datarouter.bytes.Codec
Packages that use Codec
Package
Description
-
Uses of Codec in io.datarouter.bytes
Classes in io.datarouter.bytes that implement CodecModifier and TypeClassDescriptionstatic classBuild a Codec from two Functions.static classSkips the inner codecs when provided values are null, directly returning null.Fields in io.datarouter.bytes declared as CodecModifier and TypeFieldDescriptionstatic final Codec<BinaryDictionary, byte[]> BinaryDictionary.CODECstatic final Codec<?, ?> Codec.IDENTITY_INSTANCEMethods in io.datarouter.bytes that return CodecModifier and TypeMethodDescriptionstatic <A> Codec<A, A> Codec.identity()Use Codec.identity() when you must supply a Codec but don't need to encode anything.static <A,B> Codec <A, B> Methods in io.datarouter.bytes with parameters of type Codec -
Uses of Codec in io.datarouter.bytes.blockfile.compress
Methods in io.datarouter.bytes.blockfile.compress that return types with arguments of type CodecModifier and TypeMethodDescriptionBlockfileCompressor.codecSupplier()Returns the value of thecodecSupplierrecord component.Constructor parameters in io.datarouter.bytes.blockfile.compress with type arguments of type CodecModifierConstructorDescriptionBlockfileCompressor(String encodedName, Supplier<Codec<byte[], byte[]>> codecSupplier) Creates an instance of aBlockfileCompressorrecord class. -
Uses of Codec in io.datarouter.bytes.blockfile.section
Classes in io.datarouter.bytes.blockfile.section that implement CodecFields in io.datarouter.bytes.blockfile.section declared as CodecModifier and TypeFieldDescriptionstatic final Codec<BlockfileFooter, byte[]> BlockfileFooter.VALUE_CODEC -
Uses of Codec in io.datarouter.bytes.blockfile.write
Methods in io.datarouter.bytes.blockfile.write with parameters of type CodecModifier and TypeMethodDescriptionBlockfileWriter.encodeBlock(Codec<byte[], byte[]> compressorCodec, T item) -
Uses of Codec in io.datarouter.bytes.codec.list.bytearraylist
Classes in io.datarouter.bytes.codec.list.bytearraylist that implement CodecModifier and TypeClassDescriptionclassVarInt size VarInt for the length of each array The concatenated arrays -
Uses of Codec in io.datarouter.bytes.codec.list.longlist
Classes in io.datarouter.bytes.codec.list.longlist that implement Codec -
Uses of Codec in io.datarouter.bytes.codec.stringcodec
Classes in io.datarouter.bytes.codec.stringcodec that implement CodecModifier and TypeClassDescriptionclassEncodes a String without any length information or terminal bytes. -
Uses of Codec in io.datarouter.bytes.compress.gzip
Classes in io.datarouter.bytes.compress.gzip that implement CodecModifier and TypeClassDescriptionclassCurrently reuses ByteArrayOutputStreams.Fields in io.datarouter.bytes.compress.gzip declared as Codec -
Uses of Codec in io.datarouter.bytes.kvfile.block
Methods in io.datarouter.bytes.kvfile.block that return CodecModifier and TypeMethodDescriptionstatic Codec<List<KvFileEntry>, byte[]> KvFileSequentialBlockCodec.identity()Constructors in io.datarouter.bytes.kvfile.block with parameters of type Codec -
Uses of Codec in io.datarouter.bytes.kvfile.blockformat
Methods in io.datarouter.bytes.kvfile.blockformat that return types with arguments of type CodecModifier and TypeMethodDescriptionFunction<Codec<?, KvFileEntry>, KvFileBlockCodec<?>> KvFileBlockFormat.constructor()Returns the value of theconstructorrecord component.Methods in io.datarouter.bytes.kvfile.blockformat with parameters of type CodecModifier and TypeMethodDescription<T> KvFileBlockCodec<T> KvFileBlockFormat.newBlockCodec(Codec<T, KvFileEntry> kvCodec) Constructor parameters in io.datarouter.bytes.kvfile.blockformat with type arguments of type CodecModifierConstructorDescriptionKvFileBlockFormat(String encodedName, Function<Codec<?, KvFileEntry>, KvFileBlockCodec<?>> constructor) Creates an instance of aKvFileBlockFormatrecord class. -
Uses of Codec in io.datarouter.bytes.kvfile.io
Methods in io.datarouter.bytes.kvfile.io with parameters of type CodecModifier and TypeMethodDescriptionKvFile.newReaderBuilder(String pathAndFile, Codec<T, KvFileEntry> codec) KvFile.newReaderBuilderKnownFileLength(String pathAndFile, long knownFileLength, Codec<T, KvFileEntry> codec) KvFile.newWriterBuilder(String pathAndFile, Codec<T, KvFileEntry> codec, KvFileBlockFormat kvBlockFormat) -
Uses of Codec in io.datarouter.bytes.kvfile.io.header
Classes in io.datarouter.bytes.kvfile.io.header that implement Codec -
Uses of Codec in io.datarouter.bytes.kvfile.io.read
Constructors in io.datarouter.bytes.kvfile.io.read with parameters of type CodecModifierConstructorDescriptionKvFileReaderBuilder(KvFile<T> kvFile, Codec<T, KvFileEntry> kvCodec, String pathAndFile, Optional<Long> optKnownFileLength) -
Uses of Codec in io.datarouter.bytes.kvfile.io.write
Constructors in io.datarouter.bytes.kvfile.io.write with parameters of type CodecModifierConstructorDescriptionKvFileWriterBuilder(KvFile<T> kvFile, Codec<T, KvFileEntry> kvCodec, String pathAndFile, KvFileBlockFormat kvBlockFormat)