equal
deleted
inserted
replaced
634 if(compressedSize>=size) |
634 if(compressedSize>=size) |
635 return KErrTooBig; |
635 return KErrTooBig; |
636 memcpy(dst,PakBuffer,compressedSize); |
636 memcpy(dst,PakBuffer,compressedSize); |
637 return compressedSize; |
637 return compressedSize; |
638 } |
638 } |
|
639 TInt BytePairDecompress(TUint8* dst, TUint8* src, TInt size, CBytePair *aBPE) |
|
640 { |
|
641 TUint8 UnpakBuffer[MaxBlockSize]; |
|
642 ASSERT(size<=MaxBlockSize); |
|
643 TUint8* pakEnd; |
|
644 TInt us = aBPE->Decompress(UnpakBuffer,MaxBlockSize,src,size,pakEnd); |
|
645 memcpy(dst,UnpakBuffer,us); |
|
646 return us; |
|
647 } |