public void ReadLittleEndianInt64Test() { const long Value = 0x1234567812345678; const long Expected = 0x1234567812345678; StreamBuffer target = new StreamBuffer(BitConverter.GetBytes(Value)) { Position = 0 }; long actual = target.ReadLittleEndianInt64(); Assert.AreEqual(Expected, actual); }