2 #ifndef _SECT_STRINGARRAY_H
3 #define _SECT_STRINGARRAY_H
9 // the SectStringArray handler decodes sif sections which consist of an array
10 // of pascal strings. This includes SIF_SECTION_SHEETS and SIF_SECTION_DIRECTORY.
12 class SIFStringArraySect
15 static bool Decode(const uint8_t *data
, int datalen
, StringList
*out
);
16 static uint8_t *Encode(StringList
*strings
, int *datalen_out
);
18 static void ReadPascalString(const uint8_t **data
, const uint8_t *data_end
, DString
*out
);
19 static void WritePascalString(const char *str
, DBuffer
*out
);