fix: Remove duplicate named export txt (#71)

This commit is contained in:
Amith Mohanan 2021-11-02 22:54:20 +05:30 committed by GitHub
parent 5aebb85c32
commit 8e6d91c078
Signed by: Github
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,7 +15,7 @@ const NOT_FLUSH_MASK = ~FLUSH_MASK
const QU_MASK = 1 << 15 const QU_MASK = 1 << 15
const NOT_QU_MASK = ~QU_MASK const NOT_QU_MASK = ~QU_MASK
const name = exports.txt = exports.name = {} const name = exports.name = {}
name.encode = function (str, buf, offset) { name.encode = function (str, buf, offset) {
if (!buf) buf = Buffer.alloc(name.encodingLength(str)) if (!buf) buf = Buffer.alloc(name.encodingLength(str))