class TestFile

Defined at line 16 of file ../../src/lib/zxdump/test-file.h

This maintains an anonymous temporary file that can be written and read

back. It's automatically cleaned up.

Public Methods

fbl::unique_fd RewoundFd ()

Get a freshly-dup'd file descriptor to the file, rewound to the beginning.

It can be used to either read or write the file (and might support mmap).

Defined at line 20 of file ../../src/lib/zxdump/test-file.h

FILE * stdio ()

Defined at line 25 of file ../../src/lib/zxdump/test-file.h

void ~TestFile ()

Defined at line 27 of file ../../src/lib/zxdump/test-file.h