Lines Matching full:uint8array
696 * @param {!Uint8Array} buffer The buffer to scan.
718 * @param {!Uint8Array} buffer The buffer to scan.
772 * @param {!Uint8Array} buffer The buffer to scan.
821 * @param {!Uint8Array} buffer The buffer to scan.
836 * @param {!Uint8Array} buffer The buffer to scan.
851 * @param {!Uint8Array} buffer The buffer to scan.
928 * Uint8Array. If any codepoints greater than 255 exist in the string, throws an
931 * @return {!Uint8Array}
934 var arr = new Uint8Array(str.length);
948 * Converts any type defined in jspb.ByteSource into a Uint8Array.
950 * @return {!Uint8Array}
954 if (data.constructor === Uint8Array) {
955 return /** @type {!Uint8Array} */(data);
960 return /** @type {!Uint8Array} */(new Uint8Array(data));
965 return /** @type {!Uint8Array} */(new Uint8Array(data));
973 goog.asserts.fail('Type not convertible to Uint8Array.');
974 return /** @type {!Uint8Array} */(new Uint8Array(0));