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