Blob.SetBytes

Parent Previous Next

Blob.SetBytes.

Overwrite the bytes starting from a certain index position with the passed blob value.


Syntax.


 SetBytes(Integer index; Blob value)

 


Arguments:


Warning: Trying to overwrite at a position beyond the length of the current instance will cause an error.


Example:


 Blob b := 0x00010203;

 b.SetBytes(1, 0xFFFF); //Now b == 0x00FFFF03;