class IO
This file is part of Metasm
, the Ruby assembly manipulation suite Copyright (C) 2006-2009 Yoann GUILLOT
Licence is LGPL, see LICENCE in the top-level directory
Public Instance Methods
hexdump(ctx={})
click to toggle source
# File misc/hexdump.rb, line 10 def hexdump(ctx={}) ctx[:noend] = true while buf = read(512) and not buf.empty? buf.hexdump(ctx) end ctx.delete :noend ''.hexdump(ctx) end