JCL Help:AnsiByteArrayStringLen@TBytes

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Computes the length of an AnsiString stored in a TBytes array


Pascal

 function AnsiByteArrayStringLen(Data: TBytes): SizeInt;


Parameters

Parameters Description
Data: TBytes Source byte array


Return Value

The length of the string, including the ending null character.


Description

This functions computes the length of the AnsiString stored in the TBytes array. The string ends at the first encountered null character.


See Also

AnsiByteArrayToString@TBytes@SizeInt
StringToAnsiByteArray@string


About

Unit

JclBase


Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page