```
>>> isValid(0x0) # returning False is expected
False
>>> isValid(typedVar("UInt4B", 0)) # raising MemoryException is not expected
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
__main__.MemoryException: Memory exception at 0x0 target virtual address
```
Comments: ** Comment from web user: EreTIk **
>>> isValid(0x0) # returning False is expected
False
>>> isValid(typedVar("UInt4B", 0)) # raising MemoryException is not expected
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
__main__.MemoryException: Memory exception at 0x0 target virtual address
```
Comments: ** Comment from web user: EreTIk **
same problem:
'''
>>> int( typedVar(baseTypes.UInt4B, 0) )
Traceback (most recent call last):
File "<console>", line 1, in <module>
MemoryException: Memory exception at 0x0 target virtual address
>>> print( typedVar(baseTypes.UInt4B, 0) )
Traceback (most recent call last):
File "<console>", line 1, in <module>
MemoryException: Memory exception at 0x0 target virtual address
'''