This commit is contained in:
iceman1001 committed 2021-06-25 17:22:09 +02:00
1 parent 2d1f7adb03
commit a86bd9464f
1 file changed
+1 -1
+1 -1
View File
@@ -450,7 +450,7 @@ void num_to_bytebits(uint64_t n, size_t len, uint8_t *dest) {
}
}
//least significant bit first
// least significant bit (lsb) first
void num_to_bytebitsLSBF(uint64_t n, size_t len, uint8_t *dest) {
for (size_t i = 0 ; i < len ; ++i) {
dest[i] = n & 1;