class FDB::Tuple::UUID

def <=> (other)

def <=> (other)
  self.data <=> other.data
end

def data

def data
  @data
end

def initialize(data)

def initialize(data)
  if data.length != 16
    raise Error.new(2268) # invalid_uuid_size
  end
  @data=data.slice(0,16)
end

def to_s

def to_s
  self.data.each_byte.map { |b| b.to_s(16) } .join
end