public GetRange ( int str, int stp ) : byte[] | ||
str | int | |
stp | int | |
return | byte[] |
public byte[] GetRange(int str, int stp)
{
byte[]outByte = new byte[str-stp+1];
for(int i=str,j=0;i>=stp;i--,j++)
{
outByte[j] = this[i];
}
return outByte;
}