mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-05 06:32:30 +02:00
LibIPC+LibGfx: Templatize IPC encoding as well as decoding
Now most classes dictate how they are serialized and deserialized when transmitted across LibIPC sockets. This also makes the IPC compiler a bit simpler. :^)
This commit is contained in:
Notes:
sideshowbarker
2024-07-19 06:42:23 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/3775983dfe8
@@ -136,4 +136,13 @@ bool Decoder::decode(Dictionary& dictionary)
|
||||
return true;
|
||||
}
|
||||
|
||||
void dongle() {
|
||||
ByteBuffer buffer;
|
||||
BufferStream stream(buffer);
|
||||
Decoder d(stream);
|
||||
Vector<String> x;
|
||||
d.decode(x);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user