예제 #1
0
 /// <summary>
 /// Decodes a uuid from the buffer and advances the buffer's position.
 /// </summary>
 /// <param name="buffer">The buffer to read.</param>
 /// <returns>A uuid.</returns>
 public static Guid?DecodeUuid(ByteBuffer buffer)
 {
     return(UuidEncoding.Decode(buffer, 0));
 }
예제 #2
0
 public void Decode(ByteBuffer buffer)
 {
     this.uuid = UuidEncoding.Decode(buffer, 0).Value;
 }