Explicitly write and read bytes