Missed a header

This commit is contained in:
Phillip Stephens 2022-10-11 20:33:22 -07:00
parent 1c956d06f2
commit 08e0d97ba3
1 changed files with 9 additions and 0 deletions

View File

@ -0,0 +1,9 @@
#ifndef _STREAMSUPPORT
#define _STREAMSUPPORT
#include <types.h>
static inline uint min_containing_bytes(uint bits) {
return (bits / 8) + ((bits % 8) != 0);
}
#endif // _STREAMSUPPORT