Ejemplo n.º 1
0
        public virtual uint GetWordCount()
        {
            uint wordCount = 0;

            wordCount += IdRef.GetWordCount();
            wordCount += IdRef2.GetWordCount();
            return(wordCount);
        }
Ejemplo n.º 2
0
        public virtual uint GetWordCount()
        {
            uint wordCount = 0;

            wordCount += IdRef.GetWordCount();
            wordCount += LiteralInteger.GetWordCount();
            return(wordCount);
        }
Ejemplo n.º 3
0
        public static PairIdRefIdRef Parse(WordReader reader, uint wordCount)
        {
            var end = reader.Position + wordCount;
            var res = new PairIdRefIdRef();

            res.IdRef  = IdRef.Parse(reader, end - reader.Position);
            res.IdRef2 = IdRef.Parse(reader, end - reader.Position);
            return(res);
        }
Ejemplo n.º 4
0
        public static PairIdRefLiteralInteger Parse(WordReader reader, uint wordCount)
        {
            var end = reader.Position + wordCount;
            var res = new PairIdRefLiteralInteger();

            res.IdRef          = IdRef.Parse(reader, end - reader.Position);
            res.LiteralInteger = Spv.LiteralInteger.Parse(reader, end - reader.Position);
            return(res);
        }
Ejemplo n.º 5
0
 public virtual void Write(WordWriter writer)
 {
     IdRef.Write(writer);
     IdRef2.Write(writer);
 }
Ejemplo n.º 6
0
 public static IdRef Parse(WordReader reader, uint wordCount)
 {
     return(IdRef.Parse(reader, wordCount));
 }
Ejemplo n.º 7
0
 public virtual void Write(WordWriter writer)
 {
     IdRef.Write(writer);
     LiteralInteger.Write(writer);
 }