made bitwriter methods act on pointers