class StructFu::Int16le
Int16le is a two byte value in little-endian format. The endianness cannot be altered.
Public Class Methods
new(v=nil, e=:little)
click to toggle source
Calls superclass method
StructFu::Int16.new
# File lib/packetfu/structfu.rb, line 133 def initialize(v=nil, e=:little) super(v,e) @packstr = (self.e == :big) ? "n" : "v" end