INPUT_EMPTY

Constant INPUT_EMPTY 

Source
pub const INPUT_EMPTY: u32 = 0;
Expand description

Return value for *_decode_* and *_encode_* functions that indicates that the input has been exhausted.

(This is zero as a micro optimization. U+0000 is never unmappable and malformed sequences always have a positive length.)