Exemplo n.º 1
0
faim_internal fu8_t aimbs_getle8(aim_bstream_t *bs)
{

    if (aim_bstream_empty(bs) < 1)
        return 0; /* XXX throw an exception */

    bs->offset++;

    return aimutil_getle8(bs->data + bs->offset - 1);
}
Exemplo n.º 2
0
guint8 byte_stream_getle8(ByteStream *bs)
{

	if (byte_stream_empty(bs) < 1)
		return 0; /* XXX throw an exception */

	bs->offset++;

	return aimutil_getle8(bs->data + bs->offset - 1);
}
Exemplo n.º 3
0
guint8 aimbs_getle8(aim_bstream_t *bs)
{

	if (aim_bstream_empty(bs) < 1) {
		return 0; /* XXX throw an exception */

	}
	bs->offset++;

	return aimutil_getle8(bs->data + bs->offset - 1);
}