Method AsByteArray
- Namespace
- Xunit.Sdk
- Assembly
- xunit.v3.common.dll
AsByteArray()
Gets the attachment content as a byte array, along with the media type. Can only be called when AttachmentType returns ByteArray.
public (byte[] ByteArray, string MediaType) AsByteArray()