thedesk/app/node_modules/truncate-utf8-bytes/index.js

6 lines
154 B
JavaScript
Raw Permalink Normal View History

2019-09-13 00:38:13 +10:00
'use strict';
var truncate = require("./lib/truncate");
var getLength = Buffer.byteLength.bind(Buffer);
module.exports = truncate.bind(null, getLength);