Next: , Previous: CObject-basic, Up: CObject


1.35.7 CObject: C data access

at: byteOffset put: aValue type: aType
Store aValue as data of the given type from byteOffset bytes after the pointer stored in the receiver


at: byteOffset type: aType
Answer some data of the given type from byteOffset bytes after the pointer stored in the receiver


free
Free the receiver's pointer and set it to null. Big trouble hits you if the receiver doesn't point to the base of a malloc-ed area.