/* Function: WriteStringSet * An extension method to <BinaryFile> which writes the string set to it. Call with "binaryFile.WriteStringSet(stringSet);" */ static public void WriteStringSet(this BinaryFile binaryFile, StringSet stringSet) { stringSet.ToBinaryFile(binaryFile); }
/* Function: ReadStringSet * An extension method to <BinaryFile> which reads a string set from it. Call with * "stringSet = binaryFile.ReadStringSet(ignoreCase, normalizeUnicode);" */ static public StringSet ReadStringSet(this BinaryFile binaryFile, KeySettings keySettings = KeySettings.Literal) { return(StringSet.FromBinaryFile(binaryFile, keySettings)); }