add comment about pe.read

git-svn-id: file:///home/svn/framework3/trunk@9272 4d416f70-5f16-0410-b530-b9f4589650da
unstable
Joshua Drake 2010-05-10 16:18:19 +00:00
parent afec0407c8
commit 3d023ec1fa
1 changed files with 4 additions and 0 deletions

View File

@ -194,6 +194,10 @@ class Pe < PeBase
#
# Read raw bytes from the specified offset in the underlying file
#
# NOTE: You should pass raw file offsets into this, not offsets from
# the beginning of the section. If you need to read from within a
# section, add section.file_offset prior to passing the offset in.
#
def read(offset, len)
_isource.read(offset, len)
end