core/src/main/java/com/orientechnologies/orient/core/serialization/serializer/stream/OStreamSerializerRID.java
@Override
  public void serializeInByteBufferObject(OIdentifiable object, ByteBuffer buffer, Object... hints) {
    OLinkSerializer.INSTANCE.serializeInByteBufferObject(object, buffer);
  }
@Override
  public void serializeInByteBufferObject(OIdentifiable object, ByteBuffer buffer, Object... hints) {
    OLinkSerializer.INSTANCE.serializeInByteBufferObject(object, buffer);
  }
{@inheritDoc}