CampahApp.AuctionHouse.Read2Bytes C# (CSharp) Method

Read2Bytes() private static method

private static Read2Bytes ( IntPtr pointer, int offset ) : int
pointer System.IntPtr
offset int
return int
        private static int Read2Bytes(IntPtr pointer, int offset)
        {
            int readcount;
            return BitConverter.ToInt16(Preader.ReadProcessMemory((IntPtr)((int)pointer + offset), 2, out readcount), 0);
        }