ImageMagick.MemoryStreamExtensions.GetBuffer C# (CSharp) 메소드

GetBuffer() 정적인 개인적인 메소드

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

      return buffer.Array;
    }
  }
MemoryStreamExtensions