pub(crate) unsafe fn CMap_decode<'a>(
    cmap: &CMap,
    inbuf: &mut &[u8],
    mut outbuf: &'a mut [u8],
) -> (usize, &'a mut [u8]) {
    let mut count = 0;
    while !inbuf.is_empty() && !outbuf.is_empty() {
        outbuf = CMap_decode_char(cmap, inbuf, outbuf);
        count += 1;
    }
    (count, outbuf)
}
/*
 * For convenience, it does not do decoding to CIDs.
 */
For convenience, it does not do decoding to CIDs.
For convenience it does not do decoding to CIDs .
pub(crate) unsafe fn CMap_decode<'a>(
    cmap: &CMap,
    inbuf: &mut &[u8],
    mut outbuf: &'a mut [u8],
) -> (usize, &'a mut [u8]) {
    let mut count = 0;
    while !inbuf.is_empty() && !outbuf.is_empty() {
        outbuf = CMap_decode_char(cmap, inbuf, outbuf);
        count += 1;
    }
    (count, outbuf)
}
pub ( crate ) unsafe fn CMap_decode < ' a > ( cmap : & CMap , inbuf : & mut & [ u8 ] , mut outbuf : & ' a mut [ u8 ] , ) -> ( usize , & ' a mut [ u8 ] ) { let mut count = 0 ; while ! inbuf . is_empty ( ) && ! outbuf . is_empty ( ) { outbuf = CMap_decode_char ( cmap , inbuf , outbuf ) ; count += 1 ; } ( count , outbuf ) }
For convenience, it does not do decoding to CIDs.
For convenience it does not do decoding to CIDs .
cmap
&CMap
inbuf
&mut &[u8]
outbuf
&'a mut [u8]