StructFu::Int
Int8 is a one byte value.
# File lib/packetfu/structfu.rb, line 98 def initialize(v=nil) super(v,nil,w=1) @packstr = "C" end
Returns a one byte value as a packed string.
# File lib/packetfu/structfu.rb, line 104 def to_s [(self.v || self.d)].pack("C") end
[Validate]
Generated with the Darkfish Rdoc Generator 2.