1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-04-10 07:38:06 -05:00
Simon Tatham 991e22c9bb Implement a BinarySink writing to a fixed-size buffer.
This is one of marshal.c's small collection of handy BinarySink
adapters to existing kinds of thing, alongside stdio_sink and
bufchain_sink. It writes into a fixed-size buffer, discarding all
writes after the buffer fills up, and sets a flag to let you know if
it overflowed.

There was one of these in Windows Pageant a while back, under the name
'struct PageantReply' (introduced in commit b6cbad89fc56c1f, removed
again in 98538caa39d20f3 when the named-pipe revamp made it
unnecessary). This is the same idea but centralised for reusability.
2022-11-09 19:00:04 +00:00
..
2022-08-03 20:48:46 +01:00
2022-06-25 14:30:39 +01:00
2021-04-19 17:14:01 +01:00
2022-04-24 08:38:27 +01:00
2022-09-13 11:26:57 +01:00
2021-10-10 14:55:15 +01:00
2022-09-03 11:59:12 +01:00
2021-04-18 08:18:27 +01:00
2022-09-03 11:59:12 +01:00
2021-04-18 08:18:27 +01:00