Preallocate buffer with expected frame size
Support auto values in test program
Document null termination of C strings
Update TODO