Inline the io interface functions