[Modify] Edit it

This commit is contained in:
sta 2019-09-26 20:06:26 +09:00
parent 84782afb7e
commit 82d27b0fc1

View File

@ -1963,24 +1963,39 @@ namespace WebSocketSharp
} }
/// <summary> /// <summary>
/// Converts the specified array of <see cref="byte"/> to the specified type data. /// Converts the specified array of <see cref="byte"/> to the specified
/// type data.
/// </summary> /// </summary>
/// <returns> /// <returns>
/// A T converted from <paramref name="source"/>, or a default value of /// <para>
/// T if <paramref name="source"/> is an empty array of <see cref="byte"/> or /// A T converted from <paramref name="source"/>.
/// if the type of T isn't <see cref="bool"/>, <see cref="char"/>, <see cref="double"/>, /// </para>
/// <see cref="float"/>, <see cref="int"/>, <see cref="long"/>, <see cref="short"/>, /// <para>
/// <see cref="uint"/>, <see cref="ulong"/>, or <see cref="ushort"/>. /// A default value of T if <paramref name="source"/> is an empty array of
/// <see cref="byte"/> or if the type of T is not <see cref="bool"/>,
/// <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>
/// </returns> /// </returns>
/// <param name="source"> /// <param name="source">
/// An array of <see cref="byte"/> to convert. /// An array of <see cref="byte"/> to convert.
/// </param> /// </param>
/// <param name="sourceOrder"> /// <param name="sourceOrder">
/// One of the <see cref="ByteOrder"/> enum values, specifies the byte order of /// <para>
/// <paramref name="source"/>. /// One of the <see cref="ByteOrder"/> enum values.
/// </para>
/// <para>
/// It specifies the byte order of <paramref name="source"/>.
/// </para>
/// </param> /// </param>
/// <typeparam name="T"> /// <typeparam name="T">
/// The type of the return. The T must be a value type. /// <para>
/// The type of the return.
/// </para>
/// <para>
/// It must be a value type.
/// </para>
/// </typeparam> /// </typeparam>
/// <exception cref="ArgumentNullException"> /// <exception cref="ArgumentNullException">
/// <paramref name="source"/> is <see langword="null"/>. /// <paramref name="source"/> is <see langword="null"/>.