struct Crabbit::AMQP::UUID

Overview

AMQP UUID value stored as 16 network-order bytes.

Defined in:

crabbit/amqp/value.cr

Constructors

Instance Method Summary

Constructor Detail

def self.from_slice(bytes : Bytes) : self #

Copies exactly 16 bytes from bytes into a UUID.


[View source]
def self.new(bytes : StaticArray(UInt8, 16)) #

Creates a UUID from an exact static byte array.


[View source]

Instance Method Detail

def bytes : StaticArray(UInt8, 16) #

Returns the 16 UUID bytes.


[View source]