Class: Struct
- Inherits:
-
Object
- Object
- Struct
- Defined in:
- lib/packetfu/structfu.rb
Direct Known Subclasses
PacketFu::ARPHeader, PacketFu::AddrIpv6, PacketFu::EthHeader, PacketFu::EthMac, PacketFu::EthNic, PacketFu::EthOui, PacketFu::HSRPHeader, PacketFu::ICMPHeader, PacketFu::ICMPv6Header, PacketFu::IPHeader, PacketFu::IPv6Header, PacketFu::InvalidHeader, PacketFu::LLDPHeader, PacketFu::Octets, PacketFu::PcapFile, PacketFu::PcapHeader, PacketFu::PcapNG::EPB, PacketFu::PcapNG::IDB, PacketFu::PcapNG::SHB, PacketFu::PcapNG::SPB, PacketFu::PcapNG::UnknownBlock, PacketFu::PcapPacket, PacketFu::TCPHeader, PacketFu::TcpEcn, PacketFu::TcpFlags, PacketFu::TcpHlen, PacketFu::TcpOption, PacketFu::TcpReserved, PacketFu::Timestamp, PacketFu::UDPHeader, StructFu::Int, StructFu::IntString
Instance Method Summary collapse
-
#force_binary(str) ⇒ Object
Monkeypatch for Struct to include some string safety – anything that uses Struct is going to presume binary strings anyway.
Instance Method Details
#force_binary(str) ⇒ Object
Monkeypatch for Struct to include some string safety – anything that uses Struct is going to presume binary strings anyway.
316 317 318 |
# File 'lib/packetfu/structfu.rb', line 316 def force_binary(str) PacketFu.force_binary(str) end |