Ejemplo n.º 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));
 }
Ejemplo n.º 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));
 }
Ejemplo n.º 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));
 }
Ejemplo n.º 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));
 }
Ejemplo n.º 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));
 }