static CallbackHandler() { readCallback = new ReadDelegate(read); writeCallback = new WriteDelegate(write); skipCallback = new SkipDelegate(skip); seekCallback = new SeekDelegate(seek); tellCallback = new TellDelegate(tell); eofCallback = new EofDelegate(eof); closeCallback = new CloseDelegate(close); deletedCallback = new DeletedDelegate(deleted); }
IWriteBatch IWriteBatch.Iterate(IntPtr state, PutDelegate put, DeletedDelegate deleted) => Iterate(state, put, deleted);
public WriteBatch Iterate(IntPtr state, PutDelegate put, DeletedDelegate deleted) { Native.Instance.rocksdb_writebatch_iterate(handle, state, put, deleted); return(this); }
private static extern IntPtr OgreManagedStream_Create(String name, IntPtr size, AccessMode accessMode, ReadDelegate read, WriteDelegate write, SkipDelegate skip, SeekDelegate seek, TellDelegate tell, EofDelegate eof, CloseDelegate close, DeletedDelegate deleted #if FULL_AOT_COMPILE , IntPtr instanceHandle #endif );