void encode (Encoder encoder, T value, int offset, int depth)
void encode(Encoder encoder, T value, int offset, int depth);