OracleBlob Instance Methods
OracleBlob instance methods are listed in Table 13-18.
Table 18 OracleBlob Instance Methods
| Methods | Description |
|---|---|
| Append | Appends the supplied data to the current OracleBlob instance (Overloaded) |
| BeginChunkWrite | Opens the BLOB |
BeginRead |
Inherited from System.IO.Stream |
BeginWrite |
Inherited from System.IO.Stream |
| Clone | Creates a copy of an OracleBlob object |
| Close | Closes the current stream and releases any resources associated with it |
| Compare | Compares data referenced by the current instance and that of the supplied object |
| CopyTo | Copies from the current OracleBlob instance to an OracleBlob object (Overloaded) |
| CopyToAsync | Returns a Task-based asynchronous version of OracleBlob.CopyTo() (Overloaded) |
CreateObjRef |
Inherited from System.MarshalByRefObject |
| Dispose | Releases resources allocated by this object |
| EndChunkWrite | Closes the BLOB referenced by the current OracleBlob instance |
EndRead |
Inherited from System.IO.Stream |
EndWrite |
Inherited from System.IO.Stream |
Equals |
Inherited from System.Object (Overloaded) |
| Erase | Erases data (Overloaded) |
| Flush | Not supported |
GetHashCode |
Inherited from System.Object |
GetLifetimeService |
Inherited from System.MarshalByRefObject |
GetType |
Inherited from System.Object |
InitializedLifetimeService |
Inherited from System.MarshalByRefObject |
| IsEqual | Compares the LOB data referenced by the two OracleBlobs |
| Read | Reads a specified amount of bytes from the ODP.NET LOB Type instance and populates the buffer |
| ReadAsync | Returns a Task-based asynchronous version of OracleBlob.Read(), which reads a specified number of bytes from the ODP.NET LOB instance and populates the buffer (Overloaded) |
ReadByte |
Inherited from System.IO.Stream |
| Search | Searches for a binary pattern in the current instance of an OracleBlob |
| Seek | Sets the position in the current LOB stream |
| SetLength | Trims or truncates the BLOB value to the specified length |
ToString |
Inherited from System.Object |
| Write | Writes the supplied buffer into the OracleBlob |
| WriteAsync | Returns a Task-based asynchronous version of OracleBlob.Write(). |
WriteByte |
Inherited from System.IO.Stream |