JCL Help:StringToAnsiByteArray@string

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Create a byte array from an AnsiString


Pascal

 function StringToAnsiByteArray(const S: string): TBytes;


Parameters

Parameters Description
const S: string String to convert


Return Value

Serialized bytes from S.


Description

This function serializes all the characters of S to the resulting byte array.


See Also

AnsiByteArrayToString@TBytes@SizeInt
AnsiByteArrayStringLen@TBytes


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