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