public EKey AsEKey() { fixed(byte *ptr = Value) { return(EKey.FromPointer(ptr)); } }
/// <summary> /// Open an encoded file from Encoding Key /// </summary> /// <param name="key">The Encoding Key</param> /// <returns>Loaded file</returns> internal Stream OpenEKey(EKey key) { if (!IndexEntries.TryGetValue(key, out IndexEntry indexEntry)) { Debugger.Log(0, "ContainerHandler", $"Missing local index {key.ToHexString()}\n"); return(null); } return(OpenIndexEntry(indexEntry)); }