CavalliumDBEngine/src/main/java/it/cavallium/dbengine/database/serialization/Codecs.java

9 lines
166 B
Java
Raw Normal View History

2021-02-02 19:40:37 +01:00
package it.cavallium.dbengine.database.serialization;
public interface Codecs<A> {
2021-02-02 19:40:37 +01:00
void registerCodec(int id, Codec<A> serializer);
2021-02-02 19:40:37 +01:00
Codec<A> getCodec(int id);
2021-02-02 19:40:37 +01:00
}