def METHOD_NAME(self, pitch_present, nbytes):
    b = bitstream.BitstreamWriter(nbytes)
    self.bwdet.store(b)
    self.spec.store(b)
    self.tns.store(b)
    b.write_bit(pitch_present)
    self.sns.store(b)
    if pitch_present:
        self.ltpf.store_data(b)
    self.spec.METHOD_NAME(b)
    return b.terminate()