A function to store a compressed key/data pair into a supplied buffer.
Namespace:
BerkeleyDBAssembly: libdb_dotnet48 (in libdb_dotnet48.dll) Version: 4.8.24.0
Syntax
C# |
---|
public delegate bool BTreeCompressDelegate( DatabaseEntry prevKey, DatabaseEntry prevData, DatabaseEntry key, DatabaseEntry data, ref byte[] dest, out int size ) |
Visual Basic (Declaration) |
---|
Public Delegate Function BTreeCompressDelegate ( _ prevKey As DatabaseEntry, _ prevData As DatabaseEntry, _ key As DatabaseEntry, _ data As DatabaseEntry, _ ByRef dest As Byte(), _ <OutAttribute> ByRef size As Integer _ ) As Boolean |
Visual C++ |
---|
public delegate bool BTreeCompressDelegate( DatabaseEntry^ prevKey, DatabaseEntry^ prevData, DatabaseEntry^ key, DatabaseEntry^ data, array<unsigned char>^% dest, [OutAttribute] int% size ) |
Parameters
- prevKey
- Type: BerkeleyDB..::.DatabaseEntry
The key immediately preceding the application supplied key.
- prevData
- Type: BerkeleyDB..::.DatabaseEntry
The data associated with prevKey.
- key
- Type: BerkeleyDB..::.DatabaseEntry
The application supplied key.
- data
- Type: BerkeleyDB..::.DatabaseEntry
The application supplied data.
- dest
- Type:
array<
System..::.Byte
>[]()[]
%
The compressed data to be stored in the database.
- size
- Type:
System..::.Int32
%
The number of compressed bytes written to dest, or the required size of dest, if too small.