[Modify] Edit it
This commit is contained in:
parent
b6011de7cf
commit
09d72c99e3
@ -2035,7 +2035,7 @@ namespace WebSocketSharp
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Converts the specified <paramref name="value"/> to an array of <see cref="byte"/>.
|
/// Converts the specified value to an array of <see cref="byte"/>.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <returns>
|
/// <returns>
|
||||||
/// An array of <see cref="byte"/> converted from <paramref name="value"/>.
|
/// An array of <see cref="byte"/> converted from <paramref name="value"/>.
|
||||||
@ -2044,10 +2044,23 @@ namespace WebSocketSharp
|
|||||||
/// A T to convert.
|
/// A T to convert.
|
||||||
/// </param>
|
/// </param>
|
||||||
/// <param name="order">
|
/// <param name="order">
|
||||||
/// One of the <see cref="ByteOrder"/> enum values, specifies the byte order of the return.
|
/// <para>
|
||||||
|
/// One of the <see cref="ByteOrder"/> enum values.
|
||||||
|
/// </para>
|
||||||
|
/// <para>
|
||||||
|
/// It specifies the byte order of the return.
|
||||||
|
/// </para>
|
||||||
/// </param>
|
/// </param>
|
||||||
/// <typeparam name="T">
|
/// <typeparam name="T">
|
||||||
/// The type of <paramref name="value"/>. The T must be a value type.
|
/// <para>
|
||||||
|
/// The type of <paramref name="value"/>.
|
||||||
|
/// </para>
|
||||||
|
/// <para>
|
||||||
|
/// <see cref="bool"/>, <see cref="byte"/>, <see cref="char"/>,
|
||||||
|
/// <see cref="double"/>, <see cref="float"/>, <see cref="int"/>,
|
||||||
|
/// <see cref="long"/>, <see cref="short"/>, <see cref="uint"/>,
|
||||||
|
/// <see cref="ulong"/>, or <see cref="ushort"/>.
|
||||||
|
/// </para>
|
||||||
/// </typeparam>
|
/// </typeparam>
|
||||||
public static byte[] ToByteArray<T> (this T value, ByteOrder order)
|
public static byte[] ToByteArray<T> (this T value, ByteOrder order)
|
||||||
where T : struct
|
where T : struct
|
||||||
|
Loading…
Reference in New Issue
Block a user