Home | History | Annotate | only in /external/v8/src/third_party/utf8-decoder
Up to higher level directory
NameDateSize
LICENSE22-Oct-20201.1K
README.v822-Oct-2020641
utf8-decoder.h22-Oct-20203.1K

README.v8

      1 Name: DFA UTF-8 Decoder
      2 Short Name: utf8-decoder
      3 URL: http://bjoern.hoehrmann.de/utf-8/decoder/dfa/
      4 Version: 0
      5 License: MIT
      6 License File: NOT_SHIPPED
      7 Security Critical: no
      8 
      9 Description:
     10 Decodes UTF-8 bytes using a fast and simple definite finite automata.
     11 
     12 Local modifications:
     13 - Rejection state has been mapped to row 0 (instead of row 1) of the DFA,
     14   saving some 50 bytes and making the table easier to reason about.
     15 - The transitions have been remapped to represent both a state transition and a
     16   bit mask for the incoming byte.
     17 - The caller must now zero out the code point buffer after successful or
     18   unsuccessful state transitions.
     19