Пример #1
0
 public static string ReadStringUnicode(this PPTMemory pm, IntPtr pOffset, uint pSize, params Int32[] offsets)
 {
     return(pm.ReadStringUnicode(pm.ReadOffset(pOffset, offsets), pSize));
 }
Пример #2
0
 public static byte ReadByte(this PPTMemory pm, IntPtr pOffset, params Int32[] offsets)
 {
     return(pm.ReadByte(pm.ReadOffset(pOffset, offsets)));
 }
Пример #3
0
 public static Int32 ReadInt16(this PPTMemory pm, IntPtr pOffset, params Int32[] offsets)
 {
     return(pm.ReadInt16(pm.ReadOffset(pOffset, offsets)));
 }
Пример #4
0
        public static bool ReadBinary(this PPTMemory pm, int location, IntPtr pOffset, params Int32[] offsets)
        {
            byte tempByte = pm.ReadByte(pm.ReadOffset(pOffset, offsets));

            return((tempByte & (1 << location)) != 0);
        }