Logging\BinaryLogger\Postprocessing\SubStream.cs (5)
49count = Math.Min((int)Math.Max(Length - _position, 0), count);
57if (Length - _position > 0)
72count = Math.Min((int)Math.Max(Length - _position, 0), count);
83buffer = buffer.Slice(0, Math.Min((int)Math.Max(Length - _position, 0), buffer.Length));
91buffer = buffer.Slice(0, Math.Min((int)Math.Max(Length - _position, 0), buffer.Length));