ImageMagick.MagickImageCollection.NativeMagickImageCollection.ReadBlob C# (CSharp) Метод

ReadBlob() публичный Метод

public ReadBlob ( MagickSettings settings, byte data, int length ) : IntPtr
settings MagickSettings
data byte
length int
Результат System.IntPtr
      public IntPtr ReadBlob(MagickSettings settings, byte[] data, int length)
      {
        using (INativeInstance settingsNative = MagickSettings.CreateInstance(settings))
        {
          IntPtr exception = IntPtr.Zero;
          IntPtr result;
          #if ANYCPU
          if (NativeLibrary.Is64Bit)
          #endif
          #if WIN64 || ANYCPU
          result = NativeMethods.X64.MagickImageCollection_ReadBlob(settingsNative.Instance, data, (UIntPtr)length, out exception);
          #endif
          #if ANYCPU
          else
          #endif
          #if !WIN64 || ANYCPU
          result = NativeMethods.X86.MagickImageCollection_ReadBlob(settingsNative.Instance, data, (UIntPtr)length, out exception);
          #endif
          MagickException magickException = MagickExceptionHelper.Create(exception);
          if (MagickExceptionHelper.IsError(magickException))
          {
            if (result != IntPtr.Zero)
              Dispose(result);
            throw magickException;
          }
          RaiseWarning(magickException);
          return result;
        }
      }
      public IntPtr ReadFile(MagickSettings settings)