class ZSteg::Checker::Zlib::Result

Constants

MAX_SHOW_SIZE

Public Instance Methods

to_s() click to toggle source
# File lib/zsteg/checker/zlib.rb, line 13
def to_s
  x = data
  x=x[0,MAX_SHOW_SIZE] + "..." if x.size > MAX_SHOW_SIZE
  "zlib: data=#{x.inspect.bright_red}, offset=#{offset}, size=#{data.size}"
end