TutBufDeleteRange delete a block of data from a buffer
buf
T_BUF object from which to delete the data
begin
start of the block to delete
end
end of the block to delete
TRUE
if successful, FALSE
otherwise.
None
TutBufDeleteRange deletes a block of data from a buffer, starting at begin
. All data starting at end
(or the end of the buffer if end
is -1
) is shifted left to fill the hole. If either begin
or end
are outside of the range of the buffer, this function fails. This function also fails if end
is before begin
.
None
TutBufCreate, TutBufDestroy, TutBufAppendRange
This example deletes 12 bytes of data from a buffer, starting at byte 6:
TIBCO SmartSockets™ Utilities Software Release 6.8, July 2006 Copyright © TIBCO Software Inc. All rights reserved www.tibco.com |