node/lib/metasm/metasm/disassemble_api.rb
# read a zero-terminated string from addr
# if no terminal 0 is found, return nil
read a zero-terminated string from addr
if no terminal 0 is found, return nil
read a zero - terminated string from addr if no terminal 0 is found return nil
def decode_strz(addr, maxsz=4096)
		if e = get_section_at(addr)
			str = e[0].read(maxsz).to_s
			return if not len = str.index(?\0)
			str[0, len]
		end
	end
def decode_strz ( addr , maxsz = 4096 ) if e = get_section_at ( addr ) str = e [ 0 ] . read ( maxsz ) . to_s return if not len = str . index ( ?\0 ) str [ 0 , len ] end end
read a zero-terminated string from addr
if no terminal 0 is found, return nil
read a zero - terminated string from addr if no terminal 0 is found return nil
addr
maxsz