Interface Codec<T>

Type Parameters:
T - the value type
All Superinterfaces:
Decoder<T>, Encoder<T>
All Known Subinterfaces:
CollectibleCodec<T>
All Known Implementing Classes:
AtomicBooleanCodec, AtomicIntegerCodec, AtomicLongCodec, BigDecimalCodec, BinaryCodec, BooleanCodec, BsonArrayCodec, BsonBinaryCodec, BsonBooleanCodec, BsonCodec, BsonDateTimeCodec, BsonDBPointerCodec, BsonDecimal128Codec, BsonDocumentCodec, BsonDocumentWrapperCodec, BsonDoubleCodec, BsonInt32Codec, BsonInt64Codec, BsonJavaScriptCodec, BsonJavaScriptWithScopeCodec, BsonMaxKeyCodec, BsonMinKeyCodec, BsonNullCodec, BsonObjectIdCodec, BsonRegularExpressionCodec, BsonStringCodec, BsonSymbolCodec, BsonTimestampCodec, BsonUndefinedCodec, BsonValueCodec, ByteArrayCodec, ByteCodec, CharacterCodec, CodeCodec, CodeWithScopeCodec, DateCodec, Decimal128Codec, DocumentCodec, DoubleCodec, EnumCodec, FloatCodec, InstantCodec, IntegerCodec, IterableCodec, JsonObjectCodec, LocalDateCodec, LocalDateTimeCodec, LocalTimeCodec, LongCodec, MapCodec, MaxKeyCodec, MinKeyCodec, ObjectIdCodec, OverridableUuidRepresentationUuidCodec, PatternCodec, RawBsonDocumentCodec, ShortCodec, StringCodec, SymbolCodec, UuidCodec

public interface Codec<T> extends Encoder<T>, Decoder<T>
Implementations of this interface can both encode and decode values of type T.
Since:
3.0