Summary
reads a given number of bytes into an array of bytes at an
offset position.
- Assembly
- Db4objects
.Db4o-2010 .dll - Namespace
- Db4objects
.Db4o .IO - Containing Type
- IBin
Syntax
int SyncRead(long position, byte[] bytes, int bytesToRead)
Remarks
reads a given number of bytes into an array of bytes at an
offset position. In contrast to the normal
Db4objects.Db4o.IO.IBin.Read(System.Int64,System.Byte[],System.Int32)
method, the Bin should ensure direct access to the raw storage medium.
No caching should take place.
Parameters
Name | Type | Description |
---|---|---|
position | long | the offset position to read at |
bytes | byte[] | the byte array to read bytes into |
bytesToRead | int | the number of bytes to be read |
Return Value
Type | Description |
---|---|
int |