Skip to content

Commit 0fac822

Browse files
authored
Merge pull request #231 from rg911/task/g230_Encoded_Block_Size
Bug fixed in Utilities.ts - Encoded_Block_Size
2 parents c14b20e + 1cba186 commit 0fac822

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/core/format/Utilities.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,8 +168,8 @@ export const decodeChar = (c) => {
168168
};
169169

170170
export const decodeBlock = (input, inputOffset, output, outputOffset) => {
171-
const bytes = new Uint8Array(this.Encoded_Block_Size);
172-
for (let i = 0; i < this.Encoded_Block_Size; ++i) {
171+
const bytes = new Uint8Array(Encoded_Block_Size);
172+
for (let i = 0; i < Encoded_Block_Size; ++i) {
173173
bytes[i] = decodeChar(input[inputOffset + i]);
174174
}
175175

0 commit comments

Comments
 (0)