Logo Search packages:      
Sourcecode: zebra version File versions  Download package

const char* zebra_decoder_get_data ( const zebra_decoder_t decoder  ) 

retrieve last decoded data in ASCII format.

Returns:
the data string or NULL if no new data available. the returned data buffer is owned by library, contents are only valid between non-0 return from zebra_decode_width and next library call

Definition at line 121 of file decoder.c.

References zebra_decoder_get_data().

Referenced by zebra::Decoder::get_data(), zebra::Decoder::get_data_chars(), zebra::Decoder::get_data_string(), and zebra_decoder_get_data().

{
    return((char*)dcode->buf);
}


Generated by  Doxygen 1.6.0   Back to index