C API for
This crate is designed to be used only in a
Panic propagation across FFI is not handled!
See the file named COPYRIGHT.
Feeds bytes to the detector. If
true the end of the stream
is considered to occur immediately after the end of
Otherwise, the stream is expected to continue.
buffer_len may be zero.
buffer must not be
NULL but may be undereferencable when
buffer_len is zero.
Deallocates a detector obtained from
Instantiates the detector. If
true the possible
guesses are Shift_JIS, EUC-JP, ISO-2022-JP, and undecided. If
false, the possible guesses are Shift_JIS, EUC-JP,