Unit 'LazUTF8' Package
[Overview][Types][Classes][Procedures and functions][Variables][Index] [#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 4.4 Generated 2025-11-08 Home