Method: Unified2::Constructor::Construct#padding_length
- Defined in:
- lib/unified2/constructor/construct.rb
#padding_length ⇒ Object
Sometimes the data needs extra padding
117 118 119 120 121 122 123 |
# File 'lib/unified2/constructor/construct.rb', line 117 def padding_length if header.u2length > data.num_bytes header.u2length - data.num_bytes else 0 end end |