int start_outputing_bits() { buffer = 0; bits_to_go = 8; return(0); }