@mattvenn
add length and position to read and write routines
332e583