Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
silverwind committed Mar 25, 2023
1 parent fc8341e commit c7c92c2
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -1402,8 +1402,11 @@ rnaptr.decode = function (buf, offset) {
rnaptr.decode.bytes = 0

rnaptr.encodingLength = function (data) {
return string.encodingLength(data.flags) + string.encodingLength(data.services) + string.encodingLength(data.regexp)
+ name.encodingLength(data.replacement) + 6;
return
string.encodingLength(data.flags) +
string.encodingLength(data.services) +
string.encodingLength(data.regexp) +
name.encodingLength(data.replacement) + 6;
}

const renc = exports.record = function (type) {
Expand Down

0 comments on commit c7c92c2

Please sign in to comment.