diff --git a/src/TTN/packed_decoder.js b/src/TTN/packed_decoder.js index db04e5ab..fd9b955e 100644 --- a/src/TTN/packed_decoder.js +++ b/src/TTN/packed_decoder.js @@ -60,7 +60,7 @@ var version = function (bytes) { throw new Error('version must have exactly 10 bytes'); } return String.fromCharCode.apply(null, bytes).split('\u0000')[0]; - }; +}; version.BYTES = 10; var uint8 = function (bytes) {