code: function wstring(bits, s) {
        var charLength = bits / 8;
        var dataLength = s.length * charLength;
        var res = Buffer.alloc(xutil.padded_length(dataLength));
        debugger;
        var write = res[bufferWriteBits[bits]];
        res.fill(0);
        for (var i = 0; i < s.length; i++) write.call(res, s.charCodeAt(i), i * charLength);
        return res;
      }
docs: 8/16/32 bit string + 4-byte pad