Home | History | Annotate | Download | only in js

Lines Matching full:uint8array

81 flatbuffers.isLittleEndian = new Uint16Array(new Uint8Array([1, 0]).buffer)[0] === 1;
255 * @returns {Uint8Array}
543 * uint8Array.set() formally takes {Array<number>|ArrayBufferView}, so to pass
544 * it a uint8Array we need to suppress the type check:
734 * Encode the string `s` in the buffer using UTF-8. If a Uint8Array is passed
737 * @param {string|Uint8Array} s The string to encode
741 if (s instanceof Uint8Array) {
802 * Create a new ByteBuffer with a given array of bytes (`Uint8Array`).
805 * @param {Uint8Array} bytes
809 * @type {Uint8Array}
828 return new flatbuffers.ByteBuffer(new Uint8Array(byte_size));
832 * Get the underlying `Uint8Array`.
834 * @returns {Uint8Array}
1080 * @returns {string|Uint8Array}