Int16 is a two byte value.

Methods
N
T
Class Public methods
new(v=nil, e=:big)
# File lib/packetfu/structfu.rb, line 112
                def initialize(v=nil, e=:big)
                        super(v,e,w=2)
                        @packstr = (self.e == :big) ? "n" : "v"
                end
Instance Public methods
to_s()

Returns a two byte value as a packed string.

# File lib/packetfu/structfu.rb, line 118
                def to_s
                        @packstr = (self.e == :big) ? "n" : "v"
                        [(self.v || self.d)].pack(@packstr)
               end