[−][src]Function clipboard_win::raw::size_unsafe
pub unsafe fn size_unsafe(format: u32) -> Option<usize>
Retrieves size of clipboard data for specified format.
Pre-conditions:
- open() has been called.
Returns:
Size in bytes if format presents on clipboard.
Unsafety:
In some cases, clipboard content might be so invalid that it crashes on GlobalSize
(e.g.
Bitmap)
Due to that function is marked as unsafe