mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-10 00:11:43 +08:00
Add comment #4827
This commit is contained in:
committed by
Xinyu Hou
parent
6d0f820db5
commit
221a9a71c4
@@ -66,6 +66,13 @@ IClipboard::unmarshall(IClipboard* clipboard, const String& data, Time time)
|
||||
String
|
||||
IClipboard::marshall(const IClipboard* clipboard)
|
||||
{
|
||||
// return data format:
|
||||
// 4 bytes => number of formats included
|
||||
// 4 bytes => format enum
|
||||
// 4 bytes => clipboard data size n
|
||||
// n bytes => clipboard data
|
||||
// back to the second 4 bytes if there is another format
|
||||
|
||||
assert(clipboard != NULL);
|
||||
|
||||
String data;
|
||||
|
||||
Reference in New Issue
Block a user