示例#1
0
        private void ReadWriteInt64(long expected)
        {
            RailBitBuffer buffer = new RailBitBuffer();

            buffer.WriteInt64(expected);
            long actual = buffer.ReadInt64();

            Assert.Equal(expected, actual);
        }
示例#2
0
 public long Read(RailBitBuffer buffer)
 {
     return(buffer.ReadInt64(this));
 }