class PacketGen::Types::Int8

One byte unsigned integer @author Sylvain Daubert

Public Class Methods

new(value=nil) click to toggle source

@param [Integer,nil] value

Calls superclass method PacketGen::Types::Int::new
# File lib/packetgen/types/int.rb, line 103
def initialize(value=nil)
  super(value, nil, 1)
  @packstr = { nil => 'C' }
end