Xojo Developer Conference
25/27th April 2018 in Denver.
MBS Xojo Conference
6/7th September 2018 in Munich, Germany.

Platforms to show: All Mac Windows Linux Cross-Platform

JavaBlobMBS.Constructor
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Java Database MBS Java Plugin 15.1 Yes Yes Yes Yes No
Function: The private constructor.

Feedback, Comments & Corrections

JavaBlobMBS.getBytes(Position as Int64, Length as Integer) as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Java Database MBS Java Plugin 8.5 Yes Yes Yes Yes No
Function: Retrieves all or part of the BLOB value that this Blob object represents, as an array of bytes.
Notes:
This byte array contains up to length consecutive bytes starting at position pos.

pos: the ordinal position of the first byte in the BLOB value to be extracted; the first byte is at position 1
length: the number of consecutive bytes to be copied

Returns a byte array (as string) containing up to length consecutive bytes from the BLOB value designated by this Blob object, starting with the byte at position pos

Feedback, Comments & Corrections

JavaBlobMBS.length as int64
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Java Database MBS Java Plugin 8.5 Yes Yes Yes Yes No
Function: Returns the number of bytes in the BLOB value designated by this Blob object.

Feedback, Comments & Corrections

JavaBlobMBS.position(SearchString as JavaBlobMBS, Position as Int64) as Int64
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Java Database MBS Java Plugin 8.5 Yes Yes Yes Yes No
Function: Retrieves the byte position in the BLOB value designated by this Blob object at which pattern begins. The search begins at position start.
Notes:
pattern: the Blob object designating the BLOB value for which to search
start: the position in the BLOB value at which to begin searching; the first position is 1

Returns the position at which the pattern begins, else -1

See also:

Feedback, Comments & Corrections

JavaBlobMBS.position(SearchString as String, Position as Int64) as Int64
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Java Database MBS Java Plugin 8.5 Yes Yes Yes Yes No
Function: Retrieves the byte position at which the specified byte array pattern begins within the BLOB value that this Blob object represents.
Notes:
The search for pattern begins at position start.

pattern: the byte array for which to search
start: the position at which to begin searching; the first position is 1

Returns the position at which the pattern appears, else -1

See also:

Feedback, Comments & Corrections

JavaBlobMBS.setBytes(Position as Int64, Value as String) as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Java Database MBS Java Plugin 8.5 Yes Yes Yes Yes No
Function: Writes the given array of bytes to the BLOB value that this Blob object represents, starting at position pos, and returns the number of bytes written.
Notes:
pos: the position in the BLOB object at which to start writing
bytes: the array of bytes to be written to the BLOB value that this Blob object represents

Returns the number of bytes written

See also:

Feedback, Comments & Corrections

JavaBlobMBS.setBytes(Position as Int64, Value as String, Offset as Integer, Length as Integer) as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Java Database MBS Java Plugin 8.5 Yes Yes Yes Yes No
Function: Writes all or part of the given byte array to the BLOB value that this Blob object represents and returns the number of bytes written.
Notes:
Writing starts at position pos in the BLOB value; len bytes from the given byte array are written.

pos: the position in the BLOB object at which to start writing
bytes: the array of bytes to be written to this BLOB object
offset: the offset into the array bytes at which to start reading the bytes to be set
len: the number of bytes to be written to the BLOB value from the array of bytes bytes

Returns the number of bytes written

See also:

Feedback, Comments & Corrections

JavaBlobMBS.truncate(len as int64)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Java Database MBS Java Plugin 8.5 Yes Yes Yes Yes No
Function: Truncates the BLOB value that this Blob object represents to be len bytes in length.
Notes: len: the length, in bytes, to which the BLOB value that this Blob object represents should be truncated

Feedback, Comments & Corrections

The items on this page are in the following plugins: MBS Java Plugin.




Links
MBS Xojo Plugins