On 22 Feb 2019, at 10:30 am, Keisuke Miyako via 4D_Tech <[email protected]> 
wrote:
> 
> it sounds like you are over-thinking :)
> 
> you could just do
> 
> SET BLOB SIZE($bytes;4)
> 
> $bytes{0}:=78
> $bytes{1}:=48
> $bytes{2}:=75
> $bytes{3}:=00
> 
> then BLOB TO DOCUMENT.
> 
> not need to go through hex.

Or even easier:

C_BLOB($vX_Data)
C_LONGINT($vL_Offset)

$vL_Offset:=0
LONGINT TO BLOB(78487500;$vX_Data;PC byte ordering;$vL_Offset)

**********************************************************************
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to