Class DBCachedObjectStoreFactory.VariantDBFieldCodec<OT extends DBAnnotatedObject>

java.lang.Object
ghidra.util.database.DBCachedObjectStoreFactory.AbstractDBFieldCodec<Object,OT,BinaryField>
ghidra.util.database.DBCachedObjectStoreFactory.VariantDBFieldCodec<OT>
All Implemented Interfaces:
DBCachedObjectStoreFactory.DBFieldCodec<Object,OT,BinaryField>
Enclosing class:
DBCachedObjectStoreFactory

public static class DBCachedObjectStoreFactory.VariantDBFieldCodec<OT extends DBAnnotatedObject> extends DBCachedObjectStoreFactory.AbstractDBFieldCodec<Object,OT,BinaryField>
A custom codec for field of "variant" type

This is suitable for use on fields of type Object; however, only certain types can actually be encoded. The encoding uses a 1-byte type selector followed by the byte-array encoded value.