private static FabricTransportRequestHeader NativeMessageToFabricTransportHeader(
            IntPtr headerBuffer)
        {
            var stream = new NativeMessageStream(GetHeaderBuffersPtr(headerBuffer));

            return(new FabricTransportRequestHeader(stream));
        }
 private static FabricTransportRequestBody NativeMessageToFabricTransportBody(
     uint count, IntPtr messageBuffer)
 {
     if (count > 0)
     {
         var stream = new NativeMessageStream(GetBuffersPtr(count, messageBuffer));
         return(new FabricTransportRequestBody(stream));
     }
     return(null);
 }