Next: Standard behavior
Up: External Resources
Previous: Basic Types
  Contents
Extending the framework to cover new primitive or otherwise connection
types is fairly simple, since the following methods are the only input/output
primitives needed for defining an external resource type:
- resource read: n from: handle startingAt: start into: array
- reads
the next n elements from the resource identified by the given low-level
handle, from the given starting point. The contents are placed in
the given array, which should be a ByteArray currently.
- resource write: n to: handle startingAt: start from: array
- writes
the next n elements to the resource identified by the given low-level
handle, from the given starting point. The contents are read from
the given array, which should be a ByteArray currently.
Brian Rice
2004-08-24