Innovenergy_trunk/frontend/node_modules/truncate-utf8-bytes/index.js

6 lines
154 B
JavaScript
Raw Normal View History

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