Searched refs:toArrayBuffer (Results 1 – 7 of 7) sorted by relevance
25 expect(byteString.toArrayBuffer()).toEqual(TEST_BYTES);32 expect(byteString.toArrayBuffer()).toEqual(TEST_BYTES);40 expect(new Uint8Array(byteString.toArrayBuffer())).toEqual(expected);47 expect(byteString.toArrayBuffer()).toEqual(array.buffer);54 expect(byteString.toArrayBuffer()).toEqual(BYTES_WITH_HALLO.buffer);67 const otherBuffer = byteString.toArrayBuffer();75 expect(new Uint8Array(byteString.toArrayBuffer())).toEqual(new Uint8Array([90 const otherBuffer = byteString.toArrayBuffer();98 expect(new Uint8Array(byteString.toArrayBuffer()))111 const otherBuffer = byteString.toArrayBuffer();[all …]
85 toArrayBuffer() { method in ByteString
12 function toArrayBuffer(buf) { function36 const keyArrBuff = toArrayBuffer(keyBuff);37 const certArrBuff = toArrayBuffer(certBuff);38 const caArrBuff = toArrayBuffer(caCert);
40 return this.accessor_.getBytesWithDefault(1).toArrayBuffer();
154 const buffer = value.toArrayBuffer();
424 * buffer: add buf.toArrayBuffer() API (Trevor Norris)