lib/jxl/enc_bit_writer.h
// This should only rarely be used - e.g. when the current location will be
// referenced via byte offset (TOCs point to groups), or byte-aligned reading
// is required for speed.
This should only rarely be used - e.g. when the current location will be
referenced via byte offset (TOCs point to groups), or byte-aligned reading
is required for speed.
This should only rarely be used - e . g . when the current location will be referenced via byte offset ( TOCs point to groups ) or byte - aligned reading is required for speed .
void ZeroPadToByte() {
    const size_t remainder_bits =
        RoundUpBitsToByteMultiple(bits_written_) - bits_written_;
    if (remainder_bits == 0) return;
    Write(remainder_bits, 0);
    JXL_ASSERT(bits_written_ % kBitsPerByte == 0);
  }
void ZeroPadToByte ( ) { const size_t remainder_bits = RoundUpBitsToByteMultiple ( bits_written_ ) - bits_written_ ; if ( remainder_bits == 0 ) return ; Write ( remainder_bits , 0 ) ; JXL_ASSERT ( bits_written_ % kBitsPerByte == 0 ) ; }
This should only rarely be used - e.g.
This should only rarely be used - e . g .