[Overview][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'LazUTF8' (#lazutils)

UTF8CodepointSizeFast

Fast version of UTF8CodepointSize.

Declaration

Source position: lazutf8.pas line 79

function UTF8CodepointSizeFast(

  p: PChar

):Integer;

Arguments

p

  

Encoded values to examine in the function.

Function result

Number of bytes for the codepoint.

Description

Fast version of UTF8CodepointSize. Assumes the UTF-8 codepoint is valid. The return value is for a single codepoint.


Version 3.2 Generated 2024-02-25 Home