@Beta public interface DiscreteResourceCodec<T>
T
decode(int value)
int
encode(T resource)
int encode(T resource)
resource
T decode(int value)
value