440 441 442 443 444 445 446 447 448
# File 'lib/aerospike/value/value.rb', line 440 def pack(packer) packer.write_map_header(@vmap.length) for key, val in @vmap Value.validate_hash_key(key) Value.of(key).pack(packer) Value.of(val).pack(packer) end end