Missed a header

Former-commit-id: 08e0d97ba3
This commit is contained in:
Phillip Stephens
2022-10-11 20:33:22 -07:00
parent 8d0b032e01
commit 67fff47df5
+9
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