Function rsmpeg::ffi::avio_get_str16le [−][src]
pub unsafe extern "C" fn avio_get_str16le(
pb: *mut AVIOContext,
maxlen: i32,
buf: *mut i8,
buflen: i32
) -> i32
Expand description
Read a UTF-16 string from pb and convert it to UTF-8. The reading will terminate when either a null or invalid character was encountered or maxlen bytes have been read. @return number of bytes read (is always <= maxlen)