aboutsummaryrefslogtreecommitdiff
path: root/src/tests/nids.cpp
blob: f50fde5a7613a14701a485bbdb56bc5451e913ac (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
#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], Bu::File::ReadWrite );
	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;
}