class Aerospike::Exp::Module

For internal use only.

Attributes

bin[R]
bytes[R]
module[R]
ret_type[R]

Public Class Methods

new(bin, bytes, ret_type, modul) click to toggle source
# File lib/aerospike/exp/exp.rb, line 1081
def initialize(bin, bytes, ret_type, modul)
  @bin = bin
  @bytes = bytes
  @ret_type = ret_type
  @module = modul
end

Public Instance Methods

pack(packer) click to toggle source
# File lib/aerospike/exp/exp.rb, line 1088
def pack(packer)
  packer.write_array_header(5)
  packer.write(Exp::CALL)
  packer.write(@ret_type)
  packer.write(@module)
  # packer.pack_byte_array(@bytes, 0, @bytes.length)
  packer.write_raw(@bytes)
  @bin.pack(packer)
end