ITransferBuffer Interface

Data buffer shared between producer and consumers.

Definition

Namespace: Quine.FileTransfer
Assembly: Quine.FileTransfer (in Quine.FileTransfer.dll) Version: 1.0.0+6efd94d5454131cfac18f827c2a4172cb83f1e24
C#
public interface ITransferBuffer

Properties

Data Memory block from which the consumers read data. It is a prefix of Memory, i.e., it may have shorter length. This occurs only for the last block of the file.
Memory The fixed-sized memory block into which the producer writes data.
Sequence Sequence number in the file of this buffer. It determines the offset (in multiples of BlockSize) in the file at which the data starts.

Fields

SectorSize Assumed largest possible disk sector size. Direct file IO needs all IO buffers to be aligned on sector size and be a multiple of sector size.

See Also