aboutsummaryrefslogtreecommitdiff
path: root/src/tests/nids.cpp
blob: 4856883e7087b0bda4e9fee65884b1c8e8de0d7a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#include "bu/file.h"
#include "bu/nids.h"
#include "bu/nidsstream.h"

int main( int argc, char *argv[] )
{
	if( argc < 2 )
	{
		printf("usage: %s <output>\n\n", argv[0] );
		return 1;
	}

	Bu::File fOut( argv[1], "wb+");
	Bu::Nids n( fOut );

//	n.initialize( 120, 5 );

	Bu::NidsStream s = n.openStream( n.createStream() );
/*
	Bu::FString sBuf( 350 );
	memset( sBuf.getStr(), 'a', 350 );
	s.write( sBuf );
	*/

	return 0;
}