27.01.2014 Views

AMQP Specification Transport

AMQP Specification Transport

AMQP Specification Transport

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>AMQP</strong> <strong>Specification</strong>.<br />

Basic-types<br />

Name Code Size Octets Description<br />

vbin8 0x80 1 up to 255 octets of opaque binary data<br />

str8-latin 0x84 1 up to 255 iso-8859-15 characters<br />

str8 0x85 1 up to 255 octets worth of UTF-8 unicode<br />

str8-utf16 0x86 1 up to 255 octets worth of UTF-16 unicode<br />

vbin16 0x90 2 up to 65535 octets of opaque binary data<br />

str16-latin 0x94 2 up to 65535 iso-8859-15 characters<br />

str16 0x95 2 up to 65535 octets worth of UTF-8 unicode<br />

str16-utf16 0x96 2 up to 65535 octets worth of UTF-16 unicode<br />

vbin32 0xa0 4 up to 4294967295 octets of opaque binary data<br />

map 0xa8 4 a mapping of keys to typed values<br />

list 0xa9 4 a series of consecutive type-value pairs<br />

array 0xaa 4 a defined length collection of values of a single type<br />

struct 0xab 4 any struct<br />

6.2 Fixed Width (1 octet)<br />

6.2.1 Type: bin8<br />

The bin8 type consists of exactly one octet of opaque binary data.<br />

Wire Format<br />

1 OCTET<br />

+----------+<br />

| bin8 |<br />

+----------+<br />

6.2.2 Type: int8<br />

The int8 type is a signed integral value encoded using an 8-bit two's complement representation.<br />

Wire Format<br />

1 OCTET<br />

+----------+<br />

| int8 |<br />

+----------+<br />

6.2.3 Type: uint8<br />

The uint8 type is an 8-bit unsigned integral value.<br />

<strong>AMQP</strong> <strong>Transport</strong> v. 1-0 Page 66 of 83

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!