Open schwehr opened 4 years ago
Or probably xdrmem_create
rather than fmemopen
and xdrstdio_create
The formats that are based on XDR are Surf (181), the Atlas HSMD (101, 102) and HSDS2 (182, 183) formats, and all of the HMRG MR1 formats (61, 62, 63, 64).
Trying to sketch out how to do testing of xdr_surf.[ch]. Should be able to do it without having to touch files on disk... here is a sketch of how I think it should be done. I used
xdr_int
to stand in for calls from the API.