/// <inheritdoc/> public TBitmap Read(Stream stream) => Read(StructUtil.ReadBytes(stream));
/// <inheritdoc/> public TBitmap Read(Stream stream, BitmapReaderFlags pFlags) => Read(StructUtil.ReadBytes(stream), pFlags);
/// <summary> /// Set clipboard format to the current clipboard. This will clear the clipboard /// if this is the first call to "Set" since the clipboard handle was opened. /// </summary> public virtual void SetFormat(ClipboardFormat format, Stream stream) { var bytes = StructUtil.ReadBytes(stream); SetFormatObject(format.Id, bytes, new BytesDataConverter()); }