Example #1
0
        private static string readString()
        {
            int lenght = ImageManager.readShort();

            byte[] bytes = ImageManager.readBytes(lenght);
            return(Encoding.UTF8.GetString(bytes));
        }
Example #2
0
 private static UInt32 readUInt()
 {
     return(BitConverter.ToUInt32(ImageManager._InverseArray(ImageManager.readBytes(4)), 0));
 }
Example #3
0
 private static short readShort()
 {
     return(BitConverter.ToInt16(ImageManager._InverseArray(ImageManager.readBytes(2)), 0));
 }