Initial community commit

This commit is contained in:
Jef
2024-09-24 14:54:57 +02:00
parent 537bcbc862
commit 20d28e80a5
16810 changed files with 4640254 additions and 2 deletions

View File

@@ -0,0 +1,13 @@
#include "ebml_unsigned.h"
uint64_t unsigned_read_ptr_len(uint64_t len, const uint8_t *ptr)
{
uint64_t val=*ptr++;
while (--len)
{
val <<= 8;
val |= *ptr++;
}
return val;
}