/// <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)); }
public void Decode(ByteBuffer buffer) { this.uuid = UuidEncoding.Decode(buffer, 0).Value; }