Method: Kaitai::Struct::Stream#read_s2le
- Defined in:
- lib/kaitai/struct/struct.rb
#read_s2le ⇒ Object
.….….….….….….….….….….….….….….….….….… Little-endian .….….….….….….….….….….….….….….….….….…
187 188 189 |
# File 'lib/kaitai/struct/struct.rb', line 187 def read_s2le read_bytes(2).unpack('s<')[0] end |