Sha256: f727a0468ec7531136eb9570f917a504a9c5c4f77723e8a9f1d2d1f89735e2a3

Contents?: true

Size: 754 Bytes

Versions: 1

Compression:

Stored size: 754 Bytes

Contents

# encoding: binary

module AMQ
  module Protocol
    module TypeConstants
      TYPE_STRING       = 'S'.freeze
      TYPE_INTEGER      = 'I'.freeze
      TYPE_HASH         = 'F'.freeze
      TYPE_TIME         = 'T'.freeze
      TYPE_DECIMAL      = 'D'.freeze
      TYPE_BOOLEAN      = 't'.freeze
      TYPE_SIGNED_8BIT  = 'c'.freeze
      TYPE_SIGNED_16BIT = 's'.freeze
      TYPE_SIGNED_64BIT = 'l'.freeze
      TYPE_32BIT_FLOAT  = 'f'.freeze
      TYPE_64BIT_FLOAT  = 'd'.freeze
      TYPE_VOID         = 'V'.freeze
      TYPE_BYTE_ARRAY   = 'x'.freeze
      TYPE_ARRAY        = 'A'.freeze
      TEN               = '10'.freeze

      BOOLEAN_TRUE  = "\x01".freeze
      BOOLEAN_FALSE = "\x00".freeze
    end # TypeConstants
  end # Protocol
end # AMQ

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
amq-protocol-1.2.0 lib/amq/protocol/type_constants.rb