Esempio n. 1
0
        public long Hagar()
        {
            Session.PartialReset();
            var writer = new SingleSegmentBuffer(HagarData).CreateWriter(Session);

            HagarSerializer.Serialize(ref writer, Input);
            return(writer.Output.Length);
        }
Esempio n. 2
0
 public long Hagar()
 {
     Session.PartialReset();
     return(HagarSerializer.Serialize(Input, HagarData, Session));
 }