Class DBTraceUtils.OffsetThenSnapDBFieldCodec<OT extends DBAnnotatedObject>
java.lang.Object
ghidra.util.database.DBCachedObjectStoreFactory.AbstractDBFieldCodec<DBTraceUtils.OffsetSnap, OT, BinaryField>
ghidra.trace.database.DBTraceUtils.AbstractOffsetSnapDBFieldCodec<OT>
ghidra.trace.database.DBTraceUtils.OffsetThenSnapDBFieldCodec<OT>
- Type Parameters:
OT- the type of the object whose field is encoded/decoded.
- All Implemented Interfaces:
DBCachedObjectStoreFactory.DBFieldCodec<DBTraceUtils.OffsetSnap, OT, BinaryField>
- Enclosing class:
DBTraceUtils
public static class DBTraceUtils.OffsetThenSnapDBFieldCodec<OT extends DBAnnotatedObject>
extends DBTraceUtils.AbstractOffsetSnapDBFieldCodec<OT>
Codec for storing
DBTraceUtils.OffsetSnaps as BinaryFields.
Encodes the address space ID followed by the address then the snap.
-
Field Summary
Fields inherited from class DBCachedObjectStoreFactory.AbstractDBFieldCodec
boxedType, column, field, fieldType, objectType, valueType -
Constructor Summary
ConstructorsChangeConstructorDescriptionOffsetThenSnapDBFieldCodec(Class<OT> objectType, Field field, int column) -
Method Summary
ChangeModifier and TypeMethodDescriptionprotected DBTraceUtils.OffsetSnapdecode(byte[] arr) protected byte[]encode(DBTraceUtils.OffsetSnap value) Methods inherited from class DBTraceUtils.AbstractOffsetSnapDBFieldCodec
doLoad, doStore, storeMethods inherited from class DBCachedObjectStoreFactory.AbstractDBFieldCodec
getFieldType, getObjectType, getValue, getValueType, load, setValue, storeMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface DBCachedObjectStoreFactory.DBFieldCodec
encodeField
-
Constructor Details
-
OffsetThenSnapDBFieldCodec
-
-
Method Details
-
encode
- Specified by:
encodein classDBTraceUtils.AbstractOffsetSnapDBFieldCodec<OT extends DBAnnotatedObject>
-
decode
- Specified by:
decodein classDBTraceUtils.AbstractOffsetSnapDBFieldCodec<OT extends DBAnnotatedObject>
-