Class BSON::ByteBuffer
In: lib/bson/byte_buffer.rb
Parent: Object

Methods

==   append!   clear   dump   get   get   get_double   get_int   get_long   length   more?   new   position   position=   prepend!   put   put_array   put_binary   put_double   put_int   put_long   put_num   rewind   size   to_a   to_s   unpack  

Constants

INT32_PACK = 'l<'.freeze
INT64_PACK = 'q<'.freeze
DOUBLE_PACK = 'E'.freeze

Attributes

max_size  [R] 
order  [R] 

Public Class methods

Public Instance methods

Appends a second ByteBuffer object, buffer, to the current buffer.

length()

Alias for size

Prepends a second ByteBuffer object, buffer, to the current buffer.

[Validate]