core/src/main/java/com/orientechnologies/common/serialization/types/OBinaryTypeSerializer.java
@Override
  public byte[] deserializeFromByteBufferObject(ByteBuffer buffer, OWALChanges walChanges, int offset) {
    final int len = walChanges.getIntValue(buffer, offset);
    offset += OIntegerSerializer.INT_SIZE;
    return walChanges.getBinaryValue(buffer, offset, len);
  }
@Override
  public byte[] deserializeFromByteBufferObject(ByteBuffer buffer, OWALChanges walChanges, int offset) {
    final int len = walChanges.getIntValue(buffer, offset);
    offset += OIntegerSerializer.INT_SIZE;
    return walChanges.getBinaryValue(buffer, offset, len);
  }
{@inheritDoc}