graphdb/src/main/java/com/tinkerpop/blueprints/impls/orient/OrientElement.java
@Override public OSerializableStream fromStream(final byte[] stream) throws OSerializationException {
    final ODocument record = getRecord();
    ((ORecordId) record.getIdentity()).fromString(new String(stream));
    return this;
  }
@Override public OSerializableStream fromStream(final byte[] stream) throws OSerializationException {
    final ODocument record = getRecord();
    ((ORecordId) record.getIdentity()).fromString(new String(stream));
    return this;
  }
@ Override public OSerializableStream fromStream ( final byte [ ] stream ) throws OSerializationException { final ODocument record = getRecord ( ) ; ( ( ORecordId ) record . getIdentity ( ) ) . fromString ( new String ( stream ) ) ; return this ; }
(Blueprints Extension) Fills the Element from a byte[]

@param stream byte array representation of the object
@throws OSerializationException
( Blueprints Extension ) Fills the Element from a byte []