Voxia OS v0.0.1
Hobby Project Operating System Targeting x86-64
Loading...
Searching...
No Matches
bits.h
Go to the documentation of this file.
1#ifndef __LIBK__BITS_H__
2#define __LIBK__BITS_H__
3
4#include <type.h>
5
6typedef struct {
9 size_t size;
11
15#endif // __LIBK__BITS_H__
uint8_t read_bit(bitstream_t *bs)
Definition bits.c:41
uint32_t read_bits(bitstream_t *bs, int n)
Definition bits.c:26
uint8_t read_byte(bitstream_t *bs)
Definition bits.c:3
size_t size
Definition bits.h:9
uint8_t * data
Definition bits.h:7
uint64_t bit_pos
Definition bits.h:8
unsigned int uint32_t
Definition type.h:19
unsigned long uint64_t
Definition type.h:25
unsigned char uint8_t
Definition type.h:7