atcheck/lsscanner/new_ubuntu/node_modules/truncate-utf8-bytes/index.js

6 lines
154 B
JavaScript

'use strict';
var truncate = require("./lib/truncate");
var getLength = Buffer.byteLength.bind(Buffer);
module.exports = truncate.bind(null, getLength);