Updated the usecases, after having done some testing
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1214 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -72,8 +72,7 @@ BPositionIO) begin reading and writing. How the position argument is understood
|
|||||||
<LI><P>
|
<LI><P>
|
||||||
SEEK_SET. The position passed is an offset from the beginning of allocated memory; in other
|
SEEK_SET. The position passed is an offset from the beginning of allocated memory; in other
|
||||||
words, the current position is set to position. For this mode, position should be a positive
|
words, the current position is set to position. For this mode, position should be a positive
|
||||||
value, but the BMallocIO object doesn't do any checking, so it is possible to seek to a negative position
|
value.
|
||||||
(but any consequent Read() or Write() calls will fail).
|
|
||||||
</P></LI>
|
</P></LI>
|
||||||
<LI><P>
|
<LI><P>
|
||||||
SEEK_CUR. The position argument is an offset from the current position; the value of the
|
SEEK_CUR. The position argument is an offset from the current position; the value of the
|
||||||
@@ -101,8 +100,5 @@ of the buffer.</P></LI>
|
|||||||
|
|
||||||
<A NAME="implement"></A><H2>BMallocIO Implementation:</H2>
|
<A NAME="implement"></A><H2>BMallocIO Implementation:</H2>
|
||||||
|
|
||||||
<P>The implementation of the BMessageFilter is simple. It consist in implementing memory read/write on a buffer
|
|
||||||
with an index.</P>
|
|
||||||
|
|
||||||
</BODY>
|
</BODY>
|
||||||
</HTML>
|
</HTML>
|
||||||
@@ -80,8 +80,7 @@ BPositionIO) begin reading and writing. How the position argument is understood
|
|||||||
<LI><P>
|
<LI><P>
|
||||||
SEEK_SET. The position passed is an offset from the beginning of allocated memory; in other
|
SEEK_SET. The position passed is an offset from the beginning of allocated memory; in other
|
||||||
words, the current position is set to position. For this mode, position should be a positive
|
words, the current position is set to position. For this mode, position should be a positive
|
||||||
value, but the BMemoryIO object doesn't do any checking, so it is possible to seek to a negative position
|
value.
|
||||||
(but any consequent Read() or Write() calls will fail).
|
|
||||||
</P></LI>
|
</P></LI>
|
||||||
<LI><P>
|
<LI><P>
|
||||||
SEEK_CUR. The position argument is an offset from the current position; the value of the
|
SEEK_CUR. The position argument is an offset from the current position; the value of the
|
||||||
@@ -100,7 +99,7 @@ Seek() Always return the new position.
|
|||||||
|
|
||||||
<A NAME="implement"></A><H2>BMemoryIO Implementation:</H2>
|
<A NAME="implement"></A><H2>BMemoryIO Implementation:</H2>
|
||||||
|
|
||||||
<P>The implementation of the BMessageFilter is simple. It consist in implementing memory read/write on a buffer
|
<P>The implementation of the BMemoryIO is simple. It consist in implementing memory read/write on a buffer
|
||||||
with an index.</P>
|
with an index.</P>
|
||||||
|
|
||||||
</BODY>
|
</BODY>
|
||||||
|
|||||||
Reference in New Issue
Block a user