Declaration

TnxBlobStream = class(TnxBaseBlobStream)

 
Description

This class is used to access a blob directly. All calls are directly passed through to the server engine.

Never create instances directly! Always use TnxDataSet.CreateBlobStream, which will create the right type of blob stream based on the state of the dataset.

The blob stream should be freed again as soon as possible. It must be freed before calling Post or moving to another record.

 
See Also

TnxDataSet.CreateBlobStream TnxBaseBlobStream TnxBlockModeBlobStream TnxBatchAppendBlobStream

 
Methods

Destroy

destructor.

Read

With this method you can read a number of bytes of the blob data.

Seek

Seek sets the current position in the blob stream.

Seek

Seek sets the current position in the blob stream.

Truncate

This method truncates the blob data at the current position.

Write

Use Write to write a number of bytes to the blob at the current position. Take care to not accidentally overwrite data by not positioning with Seek first.

 
Properties

ChunkSize

Chunksize specifies the number of byte that are read/written in one file access.

 
File

 
nxdb

Home | Site Contents | Documentation | NexusDB Manual V4 | Class Reference | Symbol Reference | Classes