class Aerospike::Exp::Bin

Attributes

name[R]
type[R]

Public Class Methods

new(name, type) click to toggle source
# File lib/aerospike/exp/exp.rb, line 1102
def initialize(name, type)
  @name = name
  @type = type
end

Public Instance Methods

pack(packer) click to toggle source
# File lib/aerospike/exp/exp.rb, line 1107
def pack(packer)
  packer.write_array_header(3)
  packer.write(BIN)
  packer.write(@type)
  packer.write(@name)
end