示例#1
0
 internal HBuffer Write(ulong u)
 {
     _pos = Varint.PutVarint(_buf, _pos, u);
     return(this);
 }
示例#2
0
        internal int ReadInt()
        {
            var zigzag = ToTarget(32);

            return((int)Varint.DecodeZigZag(zigzag));
        }
示例#3
0
 internal HBuffer Write(int i)
 {
     _pos = Varint.PutVarint(_buf, _pos, i);
     return(this);
 }