MCPcopy Create free account
hub / github.com/CodeCavePro/revitless-toolkit / RevitFileMap

Class RevitFileMap

src/OLE/RevitFileMap.cs:5–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3namespace CodeCave.Revit.Toolkit.OLE
4{
5 internal struct RevitFileMap
6 {
7 internal struct OleStreams
8 {
9 public const string IMAGE_STREAM = "RevitPreview4.0";
10 public const string BASIC_FILE_INFO = "BasicFileInfo";
11 }
12
13 internal struct PngImageMarker
14 {
15 public const int MARKER_10 = 10; // 0x0A
16 public const int MARKER_13 = 13; // 0x0D
17 public const int MARKER_26 = 26; // 0x1A
18 public const int MARKER_71 = 71; // 0x47
19 public const int MARKER_78 = 78; // 0x4E
20 public const int MARKER_80 = 80; // 0x50
21 public const int MARKER_137 = 137; // 0x89
22 }
23
24 public static readonly Encoding[] SupportedEncodings = new[]
25 {
26 Encoding.UTF8,
27 Encoding.Unicode,
28 Encoding.BigEndianUnicode,
29 Encoding.ASCII,
30 Encoding.GetEncoding(1251),
31 Encoding.UTF32,
32 Encoding.GetEncoding(1252),
33 Encoding.UTF7,
34 Encoding.Default
35 };
36 }
37}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected