make parser struct private
return zero terminated string on decoding
uniformize buffer sizes
fix signedness and size for subtitle data
add parser_get_data