vlength += varWidth;
} catch (Exception e) {
throw EncodingException.dueTo(e);
}
if (varWidth > fieldMax) {
throw new EncodingException(
String.format("Value for field %s has size %s, exceeding maximum allowed: %s",
fieldDef.column(), varWidth, fieldMax));
}
fieldFixedWidth = AkServerUtil.varWidth(vmax);
byte[] bytes = rowData.getBytes();