Searched refs:throwIfEndOfStream (Results 1 – 2 of 2) sorted by relevance
59 …ar rawSample = stream.ReadBytes(valueSize.Value * valueDimensions.Value, throwIfEndOfStream: true); in ParseFile()
146 … public static byte[] ReadBytes(this Stream stream, int count, bool throwIfEndOfStream = false) in ReadBytes() argument168 if(throwIfEndOfStream && read < count) in ReadBytes()