add comment about pe.read
git-svn-id: file:///home/svn/framework3/trunk@9272 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
afec0407c8
commit
3d023ec1fa
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue