void function ( ByteBuf arg0 , int arg1 ) { if ( arg1 < 0 ) { throw new IllegalArgumentException ( "srini_string" + arg1 + "srini_string" ) ; } while ( arg1 -- > 0 ) { writeBoolean ( arg0 , true ) ; } writeBoolean ( arg0 , false ) ; }
writes a zero-terminated unary number to the output bytebuf . example of the output for value = 6 : 1111110 concode_field_sep int bitCount concode_elem_sep long bitBuffer concode_field_sep void writeInt concode_elem_sep void writeBits concode_elem_sep void flush concode_elem_sep void writeBoolean