Reads from or writes to files and BLOBs.
Remarks
The InStream (input stream) and OutStream (output stream) data types are generic stream objects that you can use to read from or write to files and BLOBs. In addition, the InStream and OutStream data types enable data to be read from and sent to Automation Data Type objects and OCX Data Type objects. The Microsoft XML DOM can read from an InStream object and write to an OutStream object.
You can define the internal structure of a stream as a flat stream of bytes. You can assign one stream to another. Reading from and writing to a stream occurs sequentially.
You can create a stream object by using the following functions:
- CREATEINSTREAM Function (BLOB)
- CREATEOUTSTREAM Function (BLOB)
- CREATEINSTREAM Function (File)
- CREATEOUTSTREAM Function (File)
You can use InStream in the following ways:
- COPYSTREAM Function (InStream, OutStream)
- InStream.READ Function
- InStream.EOS Function
- InStream.READTEXT Function
You can use OutStream in the following ways: