Dodano dodatkową opcję w przypadku podzielenia danych na chunki bez kompresji i szyfrowania
This commit is contained in:
parent
45b2f823c6
commit
b066f6ada5
2 changed files with 8 additions and 0 deletions
|
|
@ -206,6 +206,10 @@ void CreateCargo::computingBytes(const int16_t& flag, std::vector<char>& input,
|
||||||
output = cm.chunked(input, true, true);
|
output = cm.chunked(input, true, true);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case 4:
|
||||||
|
output = cm.chunked(input, false, false);
|
||||||
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
output = std::move(input);
|
output = std::move(input);
|
||||||
break;
|
break;
|
||||||
|
|
|
||||||
|
|
@ -155,6 +155,10 @@ void ExtractCargo::computingBytes(const std::vector<char>& input, std::vector<ch
|
||||||
output = cm.dechunked(input, true, true);
|
output = cm.dechunked(input, true, true);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case 4:
|
||||||
|
output = cm.dechunked(input, false, false);
|
||||||
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
output = input;
|
output = input;
|
||||||
break;
|
break;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue