Example #1
0
 /// <summary>
 ///     Gets Unicode string of specified byte array.
 /// </summary>
 /// <param name="value">The value.</param>
 /// <returns>System.String.</returns>
 public static string Unicode(this byte[] value)
 {
     return(ByteUtility.Unicode(value));
 }
Example #2
0
 /// <summary>
 ///     Hexadecimals the specified byte array.
 /// </summary>
 /// <param name="value">The value.</param>
 /// <returns>System.String.</returns>
 public static string Hex(this byte[] value)
 {
     return(ByteUtility.Hex(value));
 }
Example #3
0
 /// <summary>
 ///     Gets ASCII string of specified byte array.
 /// </summary>
 /// <param name="value">The value.</param>
 /// <returns>System.String.</returns>
 public static string ASCII(this byte[] value)
 {
     return(ByteUtility.ASCII(value));
 }
Example #4
0
 /// <summary>
 ///     Gets the value of Utf8 string.
 /// </summary>
 /// <param name="value">The value.</param>
 /// <returns>System.Byte[].</returns>
 public static byte[] GetBytesOfUTF8(this string value)
 {
     return(ByteUtility.GetBytesOfUTF8(value));
 }
Example #5
0
 /// <summary>
 ///     Gets Utf8 string of specified byte array.
 /// </summary>
 /// <param name="value">The value.</param>
 /// <returns>System.String.</returns>
 public static string Utf8(this byte[] value)
 {
     return(ByteUtility.Utf8(value));
 }