Covert Type OutputArray

Hello! I try to convert a OpenCvSharp.OutputArray to a byte array, because i need to store it as byte array. Can someone help me please how i could do this in c#