code: def _as_chunk(self):
          
  
          extra_bits = int_from_bytes(self.contents[0:1])
          byte_len = len(self.contents[1:])
          bit_string = '' if byte_len == 0 else '{0:b}'.format(int_from_bytes(self.contents[1:]))
          bit_len = len(bit_string)
  
          # Left-pad the bit string to a byte multiple to ensure we didn't
          # lose any zero bits on the left
          mod_bit_len = bit_len % 8
          if mod_bit_len != 0:
              bit_string = ('0' * (8 - mod_bit_len)) + bit_string
              bit_len = len(bit_string)
  
          if bit_len // 8 < byte_len:
              missing_bytes = byte_len - (bit_len // 8)
              bit_string = ('0' * (8 * missing_bytes)) + bit_string
  
          # Trim off the extra bits on the right used to fill the last byte
          if extra_bits > 0:
              bit_string = bit_string[0:0 - extra_bits]
  
          return tuple(map(int, tuple(bit_string)))
docs: Allows reconstructing indefinite length values
  
          :return:
              A tuple of integers