* Correctly convert string param to bytes

git-svn-id: trunk@39342 -
This commit is contained in:
michael 2018-06-29 11:26:41 +00:00
parent 8774d22b01
commit 5de8f0cf69

View File

@ -534,6 +534,8 @@ begin
Result:=nil
else if VarIsArray(FValue) then
Result:=FValue
else if VarIsStr(FValue) then
Result:=BytesOf(VarToStr(FValue))
else
// todo: conversion from other variant types to TBytes
Result:=FValue;