else if (v instanceof BigDecimal) {
// TODO
throw new UnsupportedOperationException("BigDecimal isn't supported yet");
}
else if (v instanceof Boolean) {
messagePacker.packBoolean((Boolean) v);
}
else {
throw new IllegalArgumentException(v.toString());
}
}