code: def _encode_ndef_uri_type(self, data):
          
          t = 0x0
          for (code, prefix) in uri_identifiers:
              if data[:len(prefix)].decode('latin-1').lower() == prefix:
                  t = code
                  data = data[len(prefix):]
                  break
          data = yubico_util.chr_byte(t) + data
          return data
docs: Implement NDEF URI Identifier Code.
  
          This is a small hack to replace some well known prefixes (such as http://)
          with a one byte code. If the prefix is not known, 0x00 is used.