Module fileinfo :: Class SafeStringWrapper
[hide private]
[frames] | no frames]

Class SafeStringWrapper

source code

SafeFileWrapper --+
                  |
                 SafeStringWrapper

Wraps a string object letting you get various parts w/o exceptions. Mainly used by the com_* modules as part of writing media to the phone.

Instance Methods [hide private]
 
__init__(self, string) source code
 
GetBytes(self, offset, length) source code

Inherited from SafeFileWrapper: GetByte, GetLSBUint16, GetLSBUint32, GetMSBUint16, GetMSBUint32

Class Variables [hide private]

Inherited from SafeFileWrapper: READAHEAD

Method Details [hide private]

__init__(self, string)
(Constructor)

source code 
Overrides: SafeFileWrapper.__init__

GetBytes(self, offset, length)

source code 
Overrides: SafeFileWrapper.GetBytes