private void encodeCut ( final DiffPart part ) throws EncodingException { // C data . writeBit ( 1 ) ; data . writeBit ( 0 ) ; data . writeBit ( 1 ) ; // S data . writeValue ( codecData . getBlocksizeS ( ) , part . getStart ( ) ) ; // E data . writeValue ( codecData . getBlocksizeE ( ) , part . getLength ( ) ) ; // B data . writeValue ( codecData . getBlocksizeB ( ) , Integer . parseInt ( part . getText ( ) ) ) ; data . writeFillBits ( ) ; }
Encodes a Cut operation .