Module CoreExtensions::Integer::Bitwise
In: lib/rqrcode/core_ext/integer/bitwise.rb
Bitwise Integer Behavior Array CoreExtensions dot/f_3.png

Methods

rszf  

Public Instance methods

[Source]

   # File lib/rqrcode/core_ext/integer/bitwise.rb, line 4
4:       def rszf(count)
5:         # zero fill right shift
6:         (self >> count) & ((2 ** ((self.size * 8) - count))-1)
7:       end

[Validate]