int pos = value.getEncodedSize();
Util.putInt(value.getEncodedBytes(), pos, converter.getTableId());
pos += 4;
CodedOutputStream cstr = CodedOutputStream.newInstance(value.getEncodedBytes(), pos, size);
try {
msg.writeTo(cstr);
}
catch (IOException ex) {
throw new ConversionException(ex);
}
pos += size;