From 9d86cba840252b451c4b86d9ea16c821b6c97245 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Wed, 14 Nov 2012 23:11:45 +0000 Subject: Started a nice, native .net implementation in C# --- c++-libbu++/src/tests/int.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'c++-libbu++/src/tests') diff --git a/c++-libbu++/src/tests/int.cpp b/c++-libbu++/src/tests/int.cpp index 25ef831..fc411f4 100644 --- a/c++-libbu++/src/tests/int.cpp +++ b/c++-libbu++/src/tests/int.cpp @@ -9,6 +9,7 @@ #include #include +#include #include using namespace Bu; @@ -31,12 +32,12 @@ void hexdump( char *dat, int iSize ) int main( int argc, char *argv[] ) { + Bu::File mb("test.gats", Bu::File::WriteNew ); for( int j = 1; j < argc; j++ ) { int64_t i = strtoll( argv[j], NULL, 10 ); - MemBuf mb; Gats::Integer::writePackedInt( mb, i ); - hexdump( mb.getString().getStr(), mb.getString().getSize() ); +// hexdump( mb.getString().getStr(), mb.getString().getSize() ); } /* sio << "Before: " << i << sio.nl; -- cgit v1.2.3