aws / aws-iot-core-mqtt-file-streams-embedded-c

MIT License
2 stars 6 forks source link

Move base64 decode table out of function to reduce function complexity #20

Closed AniruddhaKanhere closed 9 months ago

AniruddhaKanhere commented 9 months ago

This PR moves a base64 decoding table out of local function scope and makes it global static const variable.

This reduces the function complexity from 32 -> 6 due to reduced line count.

Issue #, if available:

Description of changes:

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

AniruddhaKanhere commented 9 months ago

/bot run formatting