Chilkat
HOME
Android™
ASP
Visual Basic
VB.NET
C#
iOS (IPhone)
Objective-C
C++
C
MFC
Delphi
FoxPro
Java
Perl
PHP Extension
PHP ActiveX
Python
PowerShell
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).
import chilkat data = chilkat.CkByteData() data.append('\x00\x01\x02\x03\x04\x05\x06\x07\x08\x09',10) # Remove a chunk from the middle (or anywhere).. startIndex = 4 numBytes = 4 data.removeChunk(startIndex,numBytes) print data.getEncoded("hex") |
© 2000-2010 Chilkat Software, Inc. All Rights Reserved.