Return the bytes of a string in a TBytes array
Source position: sysansih.inc line 24
function BytesOf( |
const Val: ansistring |
):TBytes; |
const Val: AnsiChar |
):TBytes; |
const Val: UnicodeString |
):TBytes; overload; |
const Val: WideChar |
):TBytes; overload; |
BytesOf returns a copy of the string's content as an array of bytes. For an empty string, zero bytes are returned (i.e. length(BytesOf(S))=0).
|
Array of byte |