aboutsummaryrefslogtreecommitdiff
path: root/src/tests/nids.cpp
blob: 1197ac18ce10ee13db9d357758e214fac17b3ea4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include "bu/file.h"
#include "bu/nids.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( 1024, 5 );

	Bu::NidsStream s = n.openStream( n.createStream() );
}