I\'m trying to create a class that handles I/O from a device and saves it (after some processing, but not relevant here). I\'m still in the early stages but encountering a w