We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a74dd3d commit 9670d6bCopy full SHA for 9670d6b
src/Encodings.pkg.vhdl
@@ -39,7 +39,7 @@ package body Encodings is
39
40
function base16_decode(constant str: string) return string is
41
alias str_i : string(1 to str'length) is str;
42
- variable result: string (1 to str'length / 2);
+ variable result: string (1 to (str'length + 1) / 2);
43
begin
44
for x in result'range loop
45
result(x) := character'val(to_integer(
0 commit comments