pub fn read_bounded_hook_stdin(reader: &mut dyn Read) -> Result<Vec<u8>>Expand description
Reads at most CURSOR_HOOK_STDIN_MAX_BYTES + 1 bytes and rejects the
one-byte-over sentinel before any UTF-8 conversion, String allocation,
serde parse, or payload preview (B-009). The error records only the
configured bound and a correlation id.