PlistCS icon indicating copy to clipboard operation
PlistCS copied to clipboard

An exception of type 'System.OutOfMemoryException' occurred in mscorlib.dll but was not handled in user code

Open iamchandreshk opened this issue 8 years ago • 0 comments

I am getting "An exception of type 'System.OutOfMemoryException' occurred in mscorlib.dll but was not handled in user code", in the

private static void parseOffsetTable(List<byte> offsetTableBytes)
        {
            for (int i = 0; i < offsetTableBytes.Count; i += offsetByteSize)
            {
                byte[] buffer = offsetTableBytes.GetRange(i, offsetByteSize).ToArray();
                Array.Reverse(buffer);
                offsetTable.Add(BitConverter.ToInt32(RegulateNullBytes(buffer, 4), 0)); //getting error in this line.
            }
        }

Please, check the attached screenshot for the same. screenshot 30

iamchandreshk avatar Aug 31 '17 09:08 iamchandreshk