1 // =================================
 2 // Copyright (c) 2022 Seppo Laakko
 3 // Distributed under the MIT license
 4 // =================================
 5 
 6 using System;
 7 using System.Collections;
 8 using System.IO;
 9 
10 namespace System.Lex
11 {
12     public int* ReadClassMap(const string& classMapResourceName)
13     {
14         ResourcePtr classMapResource = GetResource(classMapResourceName.Chars());
15         DecompressedDataPtr decompressedDataPtr = Decompress(classMapResource.Data()classMapResource.Size());
16         return cast<int*>(cast<void*>(decompressedDataPtr.ReleaseData()));
17     }
18 }
19