Total Complexity | 1 |
Total Lines | 13 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 0 |
1 | """Decode module for UTF8.""" |
||
2 | |||
3 | def decode(value: bytes) -> str: |
||
4 | """ |
||
5 | Decode UTF8. |
||
6 | |||
7 | :param value: an encoded content |
||
8 | |||
9 | :return: the decoded content |
||
10 | """ |
||
11 | |||
12 | return value.decode('utf-8') |
||
13 |