# IO Tasks

Task Summary

Owner

BDataIO

Steve Vallee

BMallocIO

Steve Vallee

BMemoryIO

Steve Vallee

BPositionIO

Steve Vallee

Task Details

BDataIO Class

BDataIO

virtual ~BDataIO();

BMallocIO Class

BMallocIO();

virtual ~BMallocIO();

virtual ssize_t ReadAt(off_t pos, void *buffer, size_t size);

virtual ssize_t WriteAt(off_t pos, const void *buffer, size_t size);

virtual off_t Seek(off_t pos, uint32 seek_mode);

virtual off_t Position() const;

virtual status_t SetSize(off_t size);

void SetBlockSize(size_t blocksize);

const void* Buffer() const;

size_t BufferLength() const;

BMemoryIO Class

BMemoryIO(void *p, size_t len);

BMemoryIO(const void *p, size_t len);

virtual ~BMemoryIO();

virtual ssize_t ReadAt(off_t pos, void *buffer, size_t size);

virtual ssize_t WriteAt(off_t pos, const void *buffer, size_t size);

virtual off_t Seek(off_t pos, uint32 seek_mode);

virtual off_t Position() const;

virtual status_t SetSize(off_t size);

BPositionIO Class

BPositionIO();

virtual ~BPositionIO();

virtual ssize_t Read(void *buffer, size_t size);

virtual ssize_t Write(const void *buffer, size_t size);

virtual status_t SetSize(off_t size);

Legend

| Functional Spec
| Use Cases
| Unit Tests
| Technical Spec
| Implementation
| Completed

The OpenBeOS project is hosted by:

Copyright © 2001-2002 OpenBeOS Project