helpstring("Initializes the object. This must be called prior to calling any other methods!")]
HRESULT Initialize( [in, defaultvalue(1)] LONG lSize,
[in, defaultvalue(NULL)] BYTE* pData );
[ id(5),
helpstring("Restricts access to a specified range of bytes in the buffer object.")
]
HRESULT LockRegion( [in] LONG libOffset,
[in] LONG cb,
[in] LONG dwLockType);
[ id(6),
helpstring("Reads a specified number of bytes from the buffer object into memory starting at the current seek pointer.")
]
HRESULT Read( [in,out] BYTE* pByte,
[in] LONG cb,
[in, out, defaultvalue(NULL)] LONG* pcbRead);
[ id(7),
helpstring("Discards all changes that have been made to a transacted stream since the last IByteBuffer::Commit call.")
]
HRESULT Revert ( void );
[ id(8),
helpstring("Changes the seek pointer to a new location relative to the beginning of the buffer, to the end of the buffer, or to the current seek pointer.")