flatten 20260225

This commit is contained in:
Timothy Prepscius
2026-02-25 12:39:24 -05:00
commit fa54be052a
315 changed files with 49791 additions and 0 deletions

16
tjp/core/endian/Endian.cpp Executable file
View File

@@ -0,0 +1,16 @@
// TJP COPYRIGHT HEADER
#include "Endian.h"
using namespace tjp::core;
void endian::swap (char *buffer, int size)
{
int i, j;
for (i = 0, j = size-1 ; i < size/2; ++i, --j)
{
char switcheroo = buffer[i];
buffer[i] = buffer[j];
buffer[j] = switcheroo;
}
}