You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
418 B

using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
namespace PdfiumViewer
{
internal static class StreamManager
{
private static readonly object _syncRoot = new object();
private static int _nextId = 1;
private static readonly Dictionary<int, Stream> _files = new Dictionary<int, Stream>();
public static int Register(Stream stream)
{