MemoryBlock 1.9 review

Download
by rbytes.net on

MemoryBlock is a REALbasic extension that adds the following methods and properties to the built-in MemoryBlock class: • Address (offset as Integer) as Integer • FSSpec (offset as Integer) as FolderItem (Mac OS only) • OSType (offset as Integer) as String • Int64Str (offset as Integer) as String • ULong(offset as Integer) as Double • BytesEqual(srcOfs as Integer, numBytes as Integer, destBlk as MemoryBlock, destOfs as Integer) as Boolean • FindString(srcOfs as Integer, maxBytes as Integer, target as String) as Integer • FindBytes(srcOfs as Integer, maxBytes as Integer, target as MemoryBlock, targOfs as Integer, targLen as Integer) as Integer • GetString (offset as Integer, length as Integer) as String • SetString (str as String, offset as Integer) • CopyBytes (srcOfs as Integer, numBytes as Integer, destOfs as Integer) • CopyBytes (srcOfs as Integer, numBytes as Integer, destBlk as MemoryBlock, destOfs as Integer) • CopyBytesToMacPtr (srcOfs as Integer, numBytes as Integer, destPtr as Integer) • CopyBytesFromMacPtr (srcPtr as Integer, numBytes as Integer, destOfs as Integer) • CopyBytesToMacHandle (srcOfs as Integer, numBytes as Integer, destPtr as Integer) • CopyBytesFromMacHandle (srcPtr as Integer, numBytes as Integer, destOfs as Integer).

License: Freeware
OS: Mac OS X
File size: 187K
Developer: Thomas Tempelmann
Price: $0.00
Updated: 27 Jun 2006
0 stars award from rbytes.net


MemoryBlock is a REALbasic extension that adds the following methods and properties to the built-in MemoryBlock class:

• Address (offset as Integer) as Integer
• FSSpec (offset as Integer) as FolderItem (Mac OS only)
• OSType (offset as Integer) as String
• Int64Str (offset as Integer) as String
• ULong(offset as Integer) as Double
• BytesEqual(srcOfs as Integer, numBytes as Integer, destBlk as MemoryBlock, destOfs as Integer) as Boolean
• FindString(srcOfs as Integer, maxBytes as Integer, target as String) as Integer
• FindBytes(srcOfs as Integer, maxBytes as Integer, target as MemoryBlock, targOfs as Integer, targLen as Integer) as Integer
• GetString (offset as Integer, length as Integer) as String
• SetString (str as String, offset as Integer)
• CopyBytes (srcOfs as Integer, numBytes as Integer, destOfs as Integer)
• CopyBytes (srcOfs as Integer, numBytes as Integer, destBlk as MemoryBlock, destOfs as Integer)
• CopyBytesToMacPtr (srcOfs as Integer, numBytes as Integer, destPtr as Integer)
• CopyBytesFromMacPtr (srcPtr as Integer, numBytes as Integer, destOfs as Integer)
• CopyBytesToMacHandle (srcOfs as Integer, numBytes as Integer, destPtr as Integer)
• CopyBytesFromMacHandle (srcPtr as Integer, numBytes as Integer, destOfs as Integer).

The following global methods are also available
• TTsMemoryBlockVersion() as Integer
• TTsMemoryBlockInit()
• MacPtrToMemoryBlock(thePtr as Integer) as MemoryBlock
• MacHandleToMemoryBlock(theHdl as Integer) as MemoryBlock.

Requirements:
REALbasic.

MemoryBlock 1.9 search tags