Method: Aerospike::AdminCommand#write_size
- Defined in:
- lib/aerospike/command/admin_command.rb
permalink #write_size ⇒ Object
[View source]
238 239 240 241 242 |
# File 'lib/aerospike/command/admin_command.rb', line 238 def write_size # Write total size of message which is the current offset. size = Integer(@data_offset-8) | Integer(MSG_VERSION << 56) | Integer(MSG_TYPE << 48) @data_buffer.write_int64(size, 0) end |