Method: BinData::Base#num_bytes
- Defined in:
- lib/bindata/base.rb
#num_bytes ⇒ Object
Returns the number of bytes it will take to write this data object.
167 168 169 |
# File 'lib/bindata/base.rb', line 167 def num_bytes do_num_bytes.ceil end |