internal ResourceReader(Stream stream, Dictionary<String, ResourceLocator> resCache)
{
BCLDebug.Assert(stream != null, "Need a stream!");
BCLDebug.Assert(stream.CanRead, "Stream should be readable!");
BCLDebug.Assert(resCache != null, "Need a Dictionary!");
_resCache = resCache;
_store = new BinaryReader(stream, Encoding.UTF8);
_ums = stream as UnmanagedMemoryStream;
BCLDebug.Log("RESMGRFILEFORMAT", "ResourceReader .ctor(Stream, Hashtable). UnmanagedMemoryStream: "+(_ums!=null));
ReadResources();
}