Platforms to show: All Mac Windows Linux Cross-Platform
Back to JavaBlobMBS class.
JavaBlobMBS.Constructor Private
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Java Database | MBS Java Plugin | 15.1 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
JavaBlobMBS.getBytes(Position as Int64, Length as Integer) as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Java Database | MBS Java Plugin | 8.5 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
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
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Java Database | MBS Java Plugin | 8.5 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
JavaBlobMBS.position(SearchString as JavaBlobMBS, Position as Int64) as Int64
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Java Database | MBS Java Plugin | 8.5 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
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:
JavaBlobMBS.position(SearchString as String, Position as Int64) as Int64
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Java Database | MBS Java Plugin | 8.5 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
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:
JavaBlobMBS.setBytes(Position as Int64, Value as String) as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Java Database | MBS Java Plugin | 8.5 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
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:
JavaBlobMBS.setBytes(Position as Int64, Value as String, Offset as Integer, Length as Integer) as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Java Database | MBS Java Plugin | 8.5 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
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:
JavaBlobMBS.truncate(len as int64)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Java Database | MBS Java Plugin | 8.5 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
len: the length, in bytes, to which the BLOB value that this Blob object represents should be truncated
The items on this page are in the following plugins: MBS Java Plugin.