Reading a byte stream in one call