stripped trailing newlines from hexdata