removed unrequired arguments
This commit is contained in:
parent
ea5a14e54c
commit
e7a3a3d35f
@ -7,7 +7,7 @@ DleEncoder::~DleEncoder() {}
|
|||||||
|
|
||||||
ReturnValue_t DleEncoder::encode(const uint8_t* sourceStream,
|
ReturnValue_t DleEncoder::encode(const uint8_t* sourceStream,
|
||||||
size_t sourceLen, uint8_t* destStream, size_t maxDestLen,
|
size_t sourceLen, uint8_t* destStream, size_t maxDestLen,
|
||||||
size_t* encodedLen, bool addStxEtx, bool escapeStxEtx, bool escapeCr) {
|
size_t* encodedLen, bool addStxEtx) {
|
||||||
if (maxDestLen < 2) {
|
if (maxDestLen < 2) {
|
||||||
return STREAM_TOO_SHORT;
|
return STREAM_TOO_SHORT;
|
||||||
}
|
}
|
||||||
|
@ -70,7 +70,7 @@ public:
|
|||||||
*/
|
*/
|
||||||
ReturnValue_t encode(const uint8_t *sourceStream, size_t sourceLen,
|
ReturnValue_t encode(const uint8_t *sourceStream, size_t sourceLen,
|
||||||
uint8_t *destStream, size_t maxDestLen, size_t *encodedLen,
|
uint8_t *destStream, size_t maxDestLen, size_t *encodedLen,
|
||||||
bool addStxEtx = true, bool escapeStxEtx = true, bool escapeCr = false);
|
bool addStxEtx = true);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Converts an encoded stream back.
|
* Converts an encoded stream back.
|
||||||
|
Loading…
Reference in New Issue
Block a user