Esempio n. 1
0
 /// <summary>
 /// Decodes a 32-bit unsigned integer from the buffer and advances the buffer's position.
 /// </summary>
 /// <param name="buffer">The buffer to read.</param>
 /// <returns>A 32-bit unsigned integer.</returns>
 public static uint?DecodeUInt(ByteBuffer buffer)
 {
     return(UIntEncoding.Decode(buffer, 0));
 }
Esempio n. 2
0
 public override object DecodeObject(ByteBuffer buffer, FormatCode formatCode)
 {
     return(UIntEncoding.Decode(buffer, formatCode));
 }