IWriteContext Interface

Summary

this interface is passed to internal class Db4objects.Db4o.Typehandlers.ITypeHandler4 during marshaling and provides methods to marshal objects.
graph BT Type-.->Interface0["IContext"] click Interface0 "/db4o-gpl-doc/output/api/Db4objects.Db4o.Marshall/IContext" Type-.->Interface1["IWriteBuffer"] click Interface1 "/db4o-gpl-doc/output/api/Db4objects.Db4o.Marshall/IWriteBuffer" Type["IWriteContext"] class Type type-node Implementing0["MarshallingContext"]-.->Type click Implementing0 "/db4o-gpl-doc/output/api/Db4objects.Db4o.Internal.Marshall/MarshallingContext"

Syntax

public interface IWriteContext : IContext, IWriteBuffer

Methods

Name Value Summary
Reserve(int) IReservedBuffer
reserves a buffer with a specific length at the current position, to be written in a later step.
WriteObject(ITypeHandler4, Object) void
writes sub-objects, in cases where the Db4objects.Db4o.Typehandlers.ITypeHandler4 is known.
WriteObject(Object) void
makes sure the object is stored and writes the ID of the object to the context.