<PackageReference Include="Relativity.Server.Utility.SDK" Version="5000.0.0" />

DelimitedReadStreamDecorator

Wraps a stream so that data can be read until a predefined sequence of bytes is detected. Does NOT dispose of the wrapped stream.
public bool HasReachedDelimiter { get; }

Indicates whether or not this stream has reached its delimiter.

public DelimitedReadStreamDecorator(Stream stream, byte[] delimiter)

Initializes a new instance of DelimitedReadStreamDecorator with the provided backing stream and delimiter.