|  | 
|  | Blob (Attachment &attachment, Transaction &transaction, const BlobOptions &options={}) | 
|  | Creates and opens a new blob for writing. 
 | 
|  | 
|  | Blob (Attachment &attachment, Transaction &transaction, const BlobId &blobId, const BlobOptions &options={}) | 
|  | Opens an existing blob for reading or writing. 
 | 
|  | 
|  | Blob (Blob &&o) noexcept | 
|  | Transfers blob ownership from another instance. 
 | 
|  | 
| Blob & | operator= (Blob &&)=delete | 
|  | Move assignment is not supported. 
 | 
|  | 
|  | Blob (const Blob &)=delete | 
|  | Copy construction is not supported. 
 | 
|  | 
| Blob & | operator= (const Blob &)=delete | 
|  | Copy assignment is not supported. 
 | 
|  | 
|  | ~Blob () noexcept | 
|  | Automatically closes the blob if still open. 
 | 
|  | 
| bool | isValid () const noexcept | 
|  | Returns whether the blob handle is valid. 
 | 
|  | 
| const BlobId & | getId () const noexcept | 
|  | Provides access to the current blob identifier. 
 | 
|  | 
| unsigned | getLength () | 
|  | Retrieves the length of the blob in bytes. 
 | 
|  | 
| FbRef< fb::IBlob > | getHandle () noexcept | 
|  | Exposes the underlying Firebird blob handle. 
 | 
|  | 
| unsigned | read (std::span< std::byte > buffer) | 
|  | Reads data from the blob into the provided buffer. 
 | 
|  | 
| unsigned | read (std::span< char > buffer) | 
|  | Reads data from the blob into the provided buffer. 
 | 
|  | 
| unsigned | readSegment (std::span< std::byte > buffer) | 
|  | Reads a single segment from the blob into the provided buffer. 
 | 
|  | 
| unsigned | readSegment (std::span< char > buffer) | 
|  | Reads a single segment from the blob into the provided buffer. 
 | 
|  | 
| void | write (std::span< const std::byte > buffer) | 
|  | Writes data from the buffer into the blob. 
 | 
|  | 
| void | write (std::span< const char > buffer) | 
|  | Writes data from the buffer into the blob. 
 | 
|  | 
| void | writeSegment (std::span< const std::byte > buffer) | 
|  | Writes a single segment from the buffer into the blob. 
 | 
|  | 
| void | writeSegment (std::span< const char > buffer) | 
|  | Writes a single segment from the buffer into the blob. 
 | 
|  | 
| int | seek (BlobSeekMode mode, int offset) | 
|  | Repositions the blob read/write cursor. 
 | 
|  | 
| void | cancel () | 
|  | Cancels any changes performed on the blob and releases the handle. 
 | 
|  | 
| void | close () | 
|  | Closes the blob and finalizes any pending changes. 
 | 
|  | 
Provides read and write access to Firebird blobs. 
Definition at line 242 of file Blob.h.