Database implementation mostly complete.

This commit is contained in:
2024-04-09 01:44:15 -07:00
parent beba947c69
commit d13fe81ac5
20 changed files with 768 additions and 106 deletions

View File

@@ -1044,7 +1044,10 @@ namespace ehs
void ReadArray(T* const value, O* const size)
{
if (!*size)
*size = (O)Read<N>();
{
*size = (O)Read<N>();
return;
}
for (N i = 0; i < *size; ++i)
value[i] = Read<T>();