Searched refs:SaferBuffer (Results 1 – 3 of 3) sorted by relevance
7 var SaferBuffer = require('safer-buffer').Buffer; variable340 st.equal(qs.stringify({ a: SaferBuffer.from('test') }), 'a=test');341 st.equal(qs.stringify({ a: { b: SaferBuffer.from('test') } }), 'a%5Bb%5D=test');485 st.equal(qs.stringify({ a: SaferBuffer.from([1]) }, {
7 var SaferBuffer = require('safer-buffer').Buffer; variable235 var b = SaferBuffer.from('test');543 return iconv.decode(SaferBuffer.from(result), 'shift_jis').toString();
135 `var SaferBuffer = require('safer-buffer').Buffer` instead.139 * `Buffer.from`/`Buffer.alloc` won't be polyfilled — use `SaferBuffer.from` and140 `SaferBuffer.alloc` instead.