Method: Aerospike::BoolValue#write
- Defined in:
- lib/aerospike/value/value.rb
#write(buffer, offset) ⇒ Object
647 648 649 650 651 |
# File 'lib/aerospike/value/value.rb', line 647 def write(buffer, offset) val = @value ? 1 : 0 buffer.write_byte(val.ord, offset) 1 end |