/* global exports */
/* global Buffer */
"use strict";

// module Node.Encoding

exports.byteLength = function (str) { 
  return function (enc) { 
    return Buffer.byteLength(str, enc); 
  };
};

/* global exports */
/* global Buffer */
"use strict";

// module Node.Encoding

exports.byteLengthImpl = function (str) {
  return function (enc) {
    return Buffer.byteLength(str, enc);
  };
};

Fix foreign import declaration for byteLength
Fix foreign import declaration for byteLength
