BLOB Methods
Description
Methods available for a Blob object.
Discussion
A BLOB variable is a "Binary Large OBject" variable. It can contain any data. Alpha Anywhere provides the following functions and methods for manipulating BLOB variables.
Prefix the following methods with the <Blob> pointer, which is the same as the name of a BLOB variable. EG:
dim bb as b bb = "Alpha" ? bb.PEEK(2) = 108.000000
Peek functions read content at a location inside blob.
Poke functions write content at a location inside blob.
Methods
- BLOB.AND Method
Bitwise and contents of a blob with another blob.
- BLOB.DUMP Method
Dump the contexts of a blob to HEX (optional format hex per line, for hex/ascii etc, numbering).
- BLOB.NOT Method
Bitwise not contents of a blob.
- BLOB.OR Method
Bitwise or contents of a blob with another blob.
- BLOB.PEEK Method
Get the value of a byte from the blob.
- BLOB.PEEKB Method
Get a blob from a bigger blob.
- BLOB.PEEKBIT Method
Peek at 1-bit of data, offset in bits starting at 1.
- BLOB.PEEKC Method
Get the value of a substring from the blob.
- BLOB.PEEKD Method
Get the value of a 32-bit word from the blob.
- BLOB.PEEKN Method
Get the value of a IEEE floating point number from the blob.
- BLOB.PEEKW Method
Get the value of a 16-bit word from the blob.
- BLOB.POKE Method
Set the value of a byte of the blob.
- BLOB.POKEB Method
Set a blob to a bigger blob.
- BLOB.POKEBIT Method
Pook 1-bit of data, offset in bits starting at 1.
- BLOB.POKEC Method
Set the value of a substring to the blob.
- BLOB.POKED Method
Set the value of a 32-bit word of the blob.
- BLOB.POKEN Method
Set the value of a IEEE floating point number of the blob.
- BLOB.POKEW Method
Set the value of a 16-bit word of the blob.
- BLOB.REPLICATE Method
Fill a blob with replicated data from another blob.
- BLOB.RESIZE Method
Resize a blob.
- BLOB.ROTATE Method
Rotate Bits within blob.
- BLOB.SIZE Method
Return the number of bytes in the blob.
- BLOB.XOR Method
Bitwise xor contents of a blob with another blob.
See Also