Пример #1
0
 internal static void ToTextFile <TKey, TPayload>(this IStreamable <TKey, TPayload> input, string filename)
 {
     using (var buffer = new FileStream(filename, FileMode.Create))
     {
         input.ToTextStream(buffer);
     }
 }