1 | static byte[] grabScreenshotFrom_png(S ip) {
|
2 | S s = sendToAwareness(ip, "screenshot"); |
3 | if (!startsWith(s, "[")) fail(s); |
4 | L l = cast safeUnstructure(s); |
5 | S type = cast first(l); |
6 | assertEquals("png", type);
|
7 | ret (byte[]) l.get(1); |
8 | } |
Began life as a copy of #1006489
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1006493 |
| Snippet name: | grabScreenshotFrom_png - get screenshot as raw PNG from another PC that is running PC Awareness |
| Eternal ID of this version: | #1006493/1 |
| Text MD5: | db5578f9ef010675e2c8c9c38efd77f2 |
| Author: | stefan |
| Category: | javax / networking |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2017-01-10 18:35:54 |
| Source code size: | 247 bytes / 8 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 797 / 807 |
| Referenced in: | [show references] |