code: def encode(self, value, length, signed):
          '''
          :param value: value to encode
          :param length: length of value in bits
          :param signed: is value signed
          '''
          if signed:
              raise KittyException('Signed MultiBytes not supported yet, sorry')
  
          # split to septets
          if value:
              bytes_arr = []
              while value:
                  bytes_arr.append((value & 0x7f) | 0x80)
                  value >>= 7
          else:
              bytes_arr = [0]
  
          # reverse if big endian endian
          if self._mode == 'be':
              bytes_arr.reverse()
  
          # remove msb from last byte
          bytes_arr[-1] = bytes_arr[-1] & 0x7f
  
          multi_bytes = ''.join(chr(x) for x in bytes_arr)
          return Bits(bytes=strToBytes(multi_bytes)f encode(self, value, length, signed):
          '''
          :param value: value to encode
          :param length: length of value in bits
          :param signed: is value signed
          '''
          if signed:
              raise KittyException('Signed MultiBytes not supported yet, sorry')
  
          # split to septets
          if value:
              bytes_arr = []
              while value:
                  bytes_arr.append((value & 0x7f) | 0x80)
                  value >>= 7
          else:
              bytes_arr = [0]
  
          # reverse if big endian endian
          if self._mode == 'be':
              bytes_arr.reverse()
  
          # remove msb from last byte
          bytes_arr[-1] = bytes_arr[-1] & 0x7f
  
          multi_bytes = ''.join(chr(x) for x in bytes_arr)
          return Bits(bytes=strToBytes(multi_bytes))
docs: :param value: value to encode
          :param length: length of value in bits
          :param signed: is value signed