core/src/main/java/com/orientechnologies/common/serialization/types/ODecimalSerializer.java
@Override
  public void serializeInByteBufferObject(BigDecimal object, ByteBuffer buffer, Object... hints) {
    buffer.putInt(object.scale());
    OBinaryTypeSerializer.INSTANCE.serializeInByteBufferObject(object.unscaledValue().toByteArray(), buffer);
  }
@Override
  public void serializeInByteBufferObject(BigDecimal object, ByteBuffer buffer, Object... hints) {
    buffer.putInt(object.scale());
    OBinaryTypeSerializer.INSTANCE.serializeInByteBufferObject(object.unscaledValue().toByteArray(), buffer);
  }
@ Override public void serializeInByteBufferObject ( BigDecimal object , ByteBuffer buffer , Object ... hints ) { buffer . putInt ( object . scale ( ) ) ; OBinaryTypeSerializer . INSTANCE . serializeInByteBufferObject ( object . unscaledValue ( ) . toByteArray ( ) , buffer ) ; }
{@inheritDoc}
{