D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
opt
/
alt
/
ruby34
/
share
/
ri
/
system
/
IO
/
Buffer
/
Filename :
hexdump-i.ri
back
Copy
U:RDoc::AnyMethod[iI"hexdump:ETI"IO::Buffer#hexdump;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"MReturns a human-readable string representation of the buffer. The exact ;TI"!format is subject to change.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I",buffer = IO::Buffer.for("Hello World") ;TI"puts buffer.hexdump ;TI"O# 0x00000000 48 65 6c 6c 6f 20 57 6f 72 6c 64 Hello World ;T:@format0o; ; [I"LAs buffers are usually fairly big, you may want to limit the output by ;TI"&specifying the offset and length:;T@o;; [I"puts buffer.hexdump(6, 5) ;TI"H# 0x00000006 57 6f 72 6c 64 World;T; 0: @fileI"io_buffer.c;T:0@omit_headings_from_table_of_contents_below0I"4hexdump([offset, [length, [width]]]) -> string ;T0[ I"(*args);T@FI"Buffer;TcRDoc::NormalClass00