// Copyright Epic Games, Inc. All Rights Reserved. namespace Epic.OnlineServices { public static class Extensions { /// /// Checks whether the given result indicates that the operation has completed. Some operations may callback with a result indicating that they will callback again. /// /// The result to check. /// Whether the operation has completed or not. public static bool IsOperationComplete(this Result result) { return Common.IsOperationComplete(result); } /// /// Converts a byte array into a hex string, e.g. "A56904FF". /// /// The byte array to convert. /// A hex string, e.g. "A56904FF". public static string ToHexString(this byte[] byteArray) { var segment = new System.ArraySegment(byteArray); return Common.ToString(segment); } } }