ImageMagick.MemoryStreamExtensions.GetBuffer C# (CSharp) Méthode

GetBuffer() static private méthode

static private GetBuffer ( this memStream ) : byte[]
memStream this
Résultat byte[]
    internal static byte[] GetBuffer(this MemoryStream memStream)
    {
      ArraySegment<byte> buffer;
      if (!memStream.TryGetBuffer(out buffer))
        return memStream.ToArray();

      return buffer.Array;
    }
  }
MemoryStreamExtensions