core/src/main/java/com/orientechnologies/common/serialization/types/ODecimalSerializer.java
@Override
  public int getObjectSizeInByteBuffer(ByteBuffer buffer) {
    buffer.position(buffer.position() + OIntegerSerializer.INT_SIZE);
    return OIntegerSerializer.INT_SIZE + OBinaryTypeSerializer.INSTANCE.getObjectSizeInByteBuffer(buffer);
  }
@Override
  public int getObjectSizeInByteBuffer(ByteBuffer buffer) {
    buffer.position(buffer.position() + OIntegerSerializer.INT_SIZE);
    return OIntegerSerializer.INT_SIZE + OBinaryTypeSerializer.INSTANCE.getObjectSizeInByteBuffer(buffer);
  }
{@inheritDoc}