Hello,
You can use scripts object from "Bitmap operations" library. To read bit you can use "Read bit" object, for set bit you can use "Set bit" object.
What protocol do you use? For most protocols you can read and write bit separately.
Best regards,
Ruslan