public FileListEntryStream(IJSRuntime jsRuntime, ElementReference inputFileElement, FileListEntryImpl file) { _jsRuntime = jsRuntime; _inputFileElement = inputFileElement; _file = file; }
public RemoteFileListEntryStream(IJSRuntime jsRuntime, ElementReference inputFileElement, FileListEntryImpl file, int maxMessageSize, int maxBufferSize) : base(jsRuntime, inputFileElement, file) { _maxMessageSize = maxMessageSize; _blockSequence = new PreFetchingSequence <Block>( FetchBase64Block, (file.Size + _maxMessageSize - 1) / _maxMessageSize, Math.Max(1, maxBufferSize / _maxMessageSize)); // Degree of parallelism on fetch _currentBlockDecodingBuffer = new byte[_maxMessageSize]; }
public SharedMemoryFileListEntryStream(IJSRuntime jsRuntime, ElementReference inputFileElement, FileListEntryImpl file) : base(jsRuntime, inputFileElement, file) { }