Xbasic
BLOB.PEEKB Function
Syntax
New_Blob as B = peekb(N position,N length)
Arguments
- position
The byte starting position for the read operation.
- length
The number of bytes to copy.
Description
Get a blob from a bigger blob.
Discussion
The .PEEKB() method returns a portion of a second blob variable.
Example
dim b1 as B dim b2 as B b1 = char_to_blob("AB") b2 = b1.peekb(1, 1) ? b2 = A
See Also