    /*
 * Generate test vectorsa fo    r Windows LZ77 Huffman compressi   on."Copyright (c) 2022 Douglas  Bagnall <dbK @samba.org>GPLv3+@   beZiled onf2012r2 under Cygwin6g  cc -o ge- d --  \  W.c[	 C:\0 d\SysWOW64\cabinet.d	 -l Ther  Be mbettwaysgSee https://learn  .microsoft.h/en-us/\9 32/cmpapi/- o-portal/
	 #include <stddef.hD int lib bool io ys/types staoun`iZ
/* u.h is in theAPI.h
ngw-w64 hapy. *G3errhandling* 
   struct blob {
	uint8_t *data; s-izex length } Wdifferent t@  (though still bit)	signlon  J,g " w
#(inrC_flags (COMPRESS_ ALGORITHM_X HUFF | RAW)832_ti8 on_level = 0ic	 
(	input	5OR_cHANDLEHeJ
Waout  okQ l used
	okhH GCre(%Compror(-, NULL, &e)if  "*$(!) 	fprfdH, " fa#\n"		exi t(1Z }		.leQu * 3 + 256IL8mall `oc( 	 S=BNS jat (estim 	d %zu ۉW),	8"SetIn 0x(
{	)%_INFORMAӜ TION_CLALEVELg#&ole  3of")'{  /9 : %d}  GetLastErr0//O"i.}Z  ag o&<\ HllW
r{w"  to shrinkwrap ! (from %ll,@	KW;	P 	Close*return #-8s#de( o s/expected_y D'DE-W'9Dg'7 -&= 7/'[%&	&,#E	{ C.6g&7o,Ox0c void   __attribute__((nor)) usage( 88 =  `f8"USAGE: test-S-vors {c,d} fiQ 	ame [c	|z-] > DEST\n\L$% "cb<C, drc>3 / I#<Krequir for O: flag `op!:al [default 0]exx@ret)"I
main(A a'rgc,nst char * v[]|!FIXH*fhco'm
IC"K s T blobXput`({0aT	strV pif ( kD< E|| Z > 4$C1-G	}2]cJfh fopen(Jrsb[I!	= ALWCould not 9 %s
,~D ܂o(fh)`Os>9!U_	
%s@,A	 @s.st_A0H.data7Oi@l C'	J9o big memory?x:ZX9%z:F	exoUf`?d, 1,.h/KstrcmpYv[ 1]c") =
 F 4 && 30" #Z[	!_= 1
}ځψKI		a#{ else _dDL=d9_	4	f#' "no ls"given\&	W	`			toi	3])vCressP'ebz	fwrite(k.3M| c, d bf    ree(output.data);
	return 0;
}?
