Table of Contents

Method EndOfStreamReached

Namespace
PdfSharp.Logging
Assembly
PdfSharp.dll

EndOfStreamReached(ILogger, int, long, int)

[LoggerMessage(Level = LogLevel.Warning, EventId = 50012, EventName = "End of stream reached", Message = "End of stream reached while reading {Length} bytes at position {Position}, but got only {BytesRead} bytes.")]
public static void EndOfStreamReached(this ILogger logger, int length, long position, int bytesRead)

Parameters

logger ILogger
length int
position long
bytesRead int