Read(IJournalStorageConsumer, ReadOnlySequence<byte>, IJournalMetadata?, bool)
staticextension
public static void Read(this IJournalStorageConsumer consumer, ReadOnlySequence<byte> input, IJournalMetadata? metadata, bool complete) Supplies
input to consumer. Parameters
consumerIJournalStorageConsumer- The journal storage consumer.
inputReadOnlySequence<byte>- The bytes to read.
metadataIJournalMetadata?- The metadata associated with the journal data being read, or
nullif no metadata is available. completebool- Whether to notify the consumer that no more data will be supplied. If
false, the consumer must read all supplied bytes.
