Chilkat HOME ASP Visual Basic VB.NET C# Visual C++ C MFC Delphi FoxPro Java Perl PHP Python Ruby SQL Server VBScript
|
removeChunk - remove a subrange from a byte array.Remove a chunk of bytes from anywhere in a byte array (in a CkByteData object).
void ChilkatSample(void) { unsigned char data_bytes[] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9}; CkByteData data; data.append(data_bytes, 10); // Remove a chunk from the middle (or anywhere).. int startIndex; startIndex = 4; int numBytes; numBytes = 4; data.removeChunk(startIndex,numBytes); printf("%s\n",data.getEncoded("hex")); } |
Need a specific example? Send a request to support@chilkatsoft.com
© 2000-2008 Chilkat Software, Inc. All Rights Reserved.