class PacketGen::Types::SInt8

One byte signed integer @author Sylvain Daubert @since 2.8.2

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 114
def initialize(value=nil)
  super(value, nil, 1)
  @packstr = { nil => 'c' }
end