Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Rudolf
/
huffman
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
ecb3e2d2
authored
Nov 16, 2016
by
Rudolf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix header
parent
8575e4e0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
bit-buffer.h
bit-buffer.h
View file @
ecb3e2d2
#ifndef _BIT_BUFFER_H_
#define _BIT_BUFFER_H_
#include <limits.h>
#include <stdio.h>
#define BYTE_BIT CHAR_BIT
typedef
char
byte
;
...
...
@@ -17,3 +21,5 @@ void bb_write (struct BIT_BUFFER *buffer, int *bits, int size);
void
bb_writebyte
(
struct
BIT_BUFFER
*
buffer
,
byte
byte
);
int
*
bb_read
(
struct
BIT_BUFFER
*
buffer
,
int
size
);
int
*
bb_readbyte
(
struct
BIT_BUFFER
*
buffer
);
#endif
/* _BIT_BUFFER_H_ */
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment