/// <summary> /// Loads the buffer from a Stream (leaving the position in the buffer unchanged). /// </summary> /// <param name="stream">The stream.</param> /// <param name="count">The number of bytes to load.</param> public void LoadFrom(Stream stream, int count) { ThrowIfDisposed(); _byteBuffer.LoadFrom(stream, count); // does not advance position }