4D v16.3

INSERT IN BLOB

Home

 
4D v16.3
INSERT IN BLOB

INSERT IN BLOB 


 

INSERT IN BLOB ( blob ; offset ; len {; filler} )  
Parameter Type   Description
blob  BLOB in BLOB into which bytes will be inserted
offset  Longint in Starting position where bytes will be inserted
len  Longint in Number of bytes to be inserted
filler  Longint in Default byte value (0x00..0xFF) 0x00 if omitted

The INSERT IN BLOB command inserts the number of bytes specified by len into the BLOB blob at the position specified by offset. The BLOB then becomes len bytes larger.

If you do not specify the optional filler parameter, the bytes inserted into the BLOB are set to 0x00. Otherwise, the bytes are set to the value you pass in filler (modulo 256 — 0..255).

Before the call, you pass in the offset parameter the position of the insertion relative to the beginning of the BLOB.



See also 

DELETE FROM BLOB

 
PROPERTIES 

Product: 4D
Theme: BLOB
Number: 559

This command can be run in preemptive processes

 
HISTORY 

Created: 4D v6

 
ARTICLE USAGE

4D Language Reference ( 4D v16)
4D Language Reference ( 4D v16.1)
4D Language Reference ( 4D v16.2)
4D Language Reference ( 4D v16.3)