We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fe7a1cb commit 392c666Copy full SHA for 392c666
src/parsers/MetadataParser.ts
@@ -279,7 +279,7 @@ export default class MetadataParser extends StatefulBufferParser {
279
if (i % 8 === 0) {
280
mask = hexRepresentation[i];
281
} else {
282
- if ((mask & (0x1 << i % 8)) === 0) {
+ if ((mask & (0x1 << (i % 8))) === 0) {
283
decoded.writeUInt8(hexRepresentation[i] - 1, dpos++);
284
285
decoded.writeUInt8(hexRepresentation[i], dpos++);
0 commit comments