internal Blob(ObjectDatabase objectDatabase, ObjectId objectId, NativeStream stream) : this(objectDatabase, objectId) { this.size = (int)stream.Length; this.content = Marshal.AllocHGlobal(this.size); stream.Read(this.content, this.size); }
/// <inheritdoc/> public override void Serialize(IntPtr memory, int count) { NativeStream.Read(memory, count); }