Platforms to show: All Mac Windows Linux Cross-Platform

JavaInputStreamMBS class

Super class: JavaObjectMBS

Type Topic Plugin Version macOS Windows Linux Console & Web iOS
class Java Database MBS Java Plugin 13.1 Yes Yes Yes Yes No
Function: The plugin class for an inputstream.
// your result set
dim r as JavaResultSetMBS

// get binary data for BLOB column nameed 'data'
dim myInputStream as JavaInputStreamMBS = r.getBinaryStream( "data" )
if myInputStream <> nil Then

// read byte for byte in a loop
// better use other read() method with buffer
dim data as string

dim c as Integer =
If c = -1 then exit

data = data + chrb(c)

Dim myPicture as Picture = Picture.FromData(data)

// work with picture here
End If
This abstract class in java is the superclass of all classes representing an input stream of bytes.
Subclass of the JavaObjectMBS class.
This is an abstract class. You can't create an instance, but you can get one from various plugin functions.

Feedback, Comments & Corrections

Super class JavaObjectMBS

This class has no sub classes.

Some methods using this class:

Some examples which use this class:

Blog Entries

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

JavaHandleNilExceptionMBS   -   JavaIntArrayMBS

The biggest plugin in space...

MBS Xojo tutorial videos