(Stream fs, long offset)
| 246 | } |
| 247 | |
| 248 | private static List<string> ReadStringTable(Stream fs, long offset) |
| 249 | { |
| 250 | var table = new List<string>(); |
| 251 | fs.Seek(offset, SeekOrigin.Begin); |
| 252 | using var reader = new BinaryReader(fs, Encoding.UTF8, leaveOpen: true); |
| 253 | |
| 254 | uint count = reader.ReadUInt32(); |
| 255 | for (uint i = 0; i < count; i++) |
| 256 | { |
| 257 | table.Add(ReadCString(reader)); |
| 258 | } |
| 259 | return table; |
| 260 | } |
| 261 | |
| 262 | private static string ReadCString(BinaryReader reader) |
| 263 | { |
nothing calls this directly
no outgoing calls
no test coverage detected