JCL Help:AnsiByteArrayToString@TBytes@SizeInt

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Makes a copy an AnsiString stored in a TBytes array


Pascal

 function AnsiByteArrayToString(const Data: TBytes; Count: SizeInt): string;


Parameters

Parameters Description
const Data: TBytes Source byte array
Count: SizeInt Number of characters to be copied


Return Value

A string of length Count whose data is initialized by the values read from Data.


Description

This functions copies Count characters from the AnsiString stored in a TBytes array to its result.


See Also

AnsiByteArrayStringLen@TBytes
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