Exemplo n.º 1
0
 /* 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);
 }
Exemplo n.º 2
0
 /* 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));
 }