@@ -77,10 +77,18 @@ if (index >= count) @throw [OFOutOfRangeException newWithClass: isa]; return data + index * itemsize; } + +- (void*)firstItem +{ + if (data == NULL || count == 0) + return NULL; + + return data; +} - (void*)lastItem { if (data == NULL || count == 0) return NULL;