struct

Crabbit::AMQP::UUID

Inherits Struct < Value < Object

AMQP UUID value stored as 16 network-order bytes.

Constructors

from_slice(bytes : Bytes) : self

Copies exactly 16 bytes from bytes into a UUID.

Source
new(bytes : StaticArray(UInt8, 16))

Creates a UUID from an exact static byte array.

Source

Instance methods

bytes

Returns the 16 UUID bytes.

Source