class Struct

Public Instance Methods

force_binary(str) click to toggle source

Monkeypatch for Struct to include some string safety – anything that uses Struct is going to presume binary strings anyway.

# File lib/packetfu/structfu.rb, line 288
def force_binary(str)
        PacketFu.force_binary(str)
end