IReadBuffer Interface

Summary

a buffer interface with methods to read and to position the read pointer in the buffer.
graph BT Type["IReadBuffer"] class Type type-node Implementing0["StatefulBuffer"]-.->Type click Implementing0 "/db4o-gpl-doc/output/api/Db4objects.Db4o.Internal/StatefulBuffer" Implementing1["IDefragmentContext"]-.->Type click Implementing1 "/db4o-gpl-doc/output/api/Db4objects.Db4o.Internal/IDefragmentContext" Implementing2["AbstractBufferContext"]-.->Type click Implementing2 "/db4o-gpl-doc/output/api/Db4objects.Db4o.Internal/AbstractBufferContext" Implementing3["QueryingReadContext"]-.->Type click Implementing3 "/db4o-gpl-doc/output/api/Db4objects.Db4o.Internal.Marshall/QueryingReadContext" Implementing4["ObjectHeaderContext"]-.->Type click Implementing4 "/db4o-gpl-doc/output/api/Db4objects.Db4o.Internal.Marshall/ObjectHeaderContext" Implementing5["CollectIdContext"]-.->Type click Implementing5 "/db4o-gpl-doc/output/api/Db4objects.Db4o.Internal.Marshall/CollectIdContext" Implementing6["IObjectIdContext"]-.->Type click Implementing6 "/db4o-gpl-doc/output/api/Db4objects.Db4o.Internal.Marshall/IObjectIdContext" Implementing7["IDeleteContext"]-.->Type click Implementing7 "/db4o-gpl-doc/output/api/Db4objects.Db4o.Internal.Delete/IDeleteContext" Implementing8["ByteArrayBuffer"]-.->Type click Implementing8 "/db4o-gpl-doc/output/api/Db4objects.Db4o.Internal/ByteArrayBuffer" Implementing9["DeleteContextImpl"]-.->Type click Implementing9 "/db4o-gpl-doc/output/api/Db4objects.Db4o.Internal.Delete/DeleteContextImpl" Implementing10["IReferenceActivationContext"]-.->Type click Implementing10 "/db4o-gpl-doc/output/api/Db4objects.Db4o.Marshall/IReferenceActivationContext" Implementing11["ObjectReferenceContext"]-.->Type click Implementing11 "/db4o-gpl-doc/output/api/Db4objects.Db4o.Internal.Marshall/ObjectReferenceContext" Implementing12["IInternalReadContext"]-.->Type click Implementing12 "/db4o-gpl-doc/output/api/Db4objects.Db4o.Internal.Marshall/IInternalReadContext" Implementing13["ObjectIdContextImpl"]-.->Type click Implementing13 "/db4o-gpl-doc/output/api/Db4objects.Db4o.Internal.Marshall/ObjectIdContextImpl" Implementing14["IReadWriteBuffer"]-.->Type click Implementing14 "/db4o-gpl-doc/output/api/Db4objects.Db4o.Internal/IReadWriteBuffer" Implementing15["DefragmentContextImpl"]-.->Type click Implementing15 "/db4o-gpl-doc/output/api/Db4objects.Db4o.Internal/DefragmentContextImpl" Implementing16["AbstractReadContext"]-.->Type click Implementing16 "/db4o-gpl-doc/output/api/Db4objects.Db4o.Internal.Marshall/AbstractReadContext" Implementing17["IBufferContext"]-.->Type click Implementing17 "/db4o-gpl-doc/output/api/Db4objects.Db4o.Marshall/IBufferContext" Implementing18["IReadContext"]-.->Type click Implementing18 "/db4o-gpl-doc/output/api/Db4objects.Db4o.Marshall/IReadContext" Implementing19["UnmarshallingContext"]-.->Type click Implementing19 "/db4o-gpl-doc/output/api/Db4objects.Db4o.Internal.Marshall/UnmarshallingContext"

Syntax

public interface IReadBuffer

Remarks

a buffer interface with methods to read and to position the read pointer in the buffer.

Methods

Name Value Summary
Offset() int
returns the current offset in the buffer
ReadBitMap(int) BitMap4
ReadByte() byte
reads a byte from the buffer.
ReadBytes(byte[]) void
reads an array of bytes from the buffer.
ReadInt() int
reads an int from the buffer.
ReadLong() long
reads a long from the buffer.
Seek(int) void
positions the read pointer at the specified position