Encode() public method

public Encode ( Stream output, Dawg dawg ) : void
output Stream
dawg Dawg
return void
Ejemplo n.º 1
0
 public void SaveTo(Stream output)
 {
     var builder = new DawgBuilder();
     var dawg = builder.Build(_wordBag);
     var encoder = new DawgEncoder(Dawg.FILEVERSION);
     encoder.Encode(output, dawg);
 }
Ejemplo n.º 2
0
        public void SaveTo(Stream output)
        {
            var builder = new DawgBuilder();
            var dawg    = builder.Build(_wordBag);
            var encoder = new DawgEncoder(Dawg.FILEVERSION);

            encoder.Encode(output, dawg);
        }