Esempio n. 1
0
 /// <summary>
 /// Decodes a single Unicode character from the buffer and advances the buffer's position.
 /// </summary>
 /// <param name="buffer">The buffer to read.</param>
 /// <returns>A Unicode character.</returns>
 public static char?DecodeChar(ByteBuffer buffer)
 {
     return(CharEncoding.Decode(buffer, 0));
 }