Sha256: 7f91ca2f3895236c74dae56a6dabefab03affd09edfe531e6a0127b237ad2685
Contents?: true
Size: 242 Bytes
Versions: 6
Compression:
Stored size: 242 Bytes
Contents
class I2lIpData < BinData::BasePrimitive def read_and_return_value(io) iv = eval_parameter(:ip_version) if iv == 4 addr = BinData::Uint32le.read(io) elsif iv == 6 addr = BinData::Uint128le.read(io) end end end
Version data entries
6 entries across 6 versions & 1 rubygems