protected void writeZeroBranchSize ( final BitOutputStream out , final long value , final long max , final Bits bits ) throws IOException { assert 0 <= value ; assert max >= value ; if ( SERIALIZATION_CHECKS ) { out . write ( SerializationChecks . BeforeCount ) ; } if ( this . useBinomials ) { Gaussian . fromBinomial ( 0.5 , max ) . encode ( out , value , max ) ; } else { out . writeBoundedLong ( value , 1 + max ) ; } if ( SERIALIZATION_CHECKS ) { out . write ( SerializationChecks . AfterCount ) ; } }
Write zero branch size .