Lines Matching refs:Uint8Array
48 params: Uint8Array;
62 private incomingBuffer = new Uint8Array(MAX_IPC_BUFFER_SIZE);
85 async invoke(method: string, params: Uint8Array) {
107 private invokeInternal(method: string, argsProto: Uint8Array) {
129 static generateFrameBufferToSend(frame: Frame): Uint8Array {
130 const frameProto: Uint8Array =
133 const buf = new Uint8Array(WIRE_PROTOCOL_HEADER_SIZE + frameLen);
158 private parseMessageSize(buffer: Uint8Array) {
163 private parseMessage(frameBuffer: Uint8Array) {
166 const arr = new Uint8Array(buf);
180 private canCompleteSizeHeader(newData: Uint8Array) {
184 private canParseFullMessage(newData: Uint8Array) {
189 private appendToIncomingBuffer(array: Uint8Array) {
194 handleReceivedData(newData: Uint8Array) {
237 requestId: number, responseProto: Uint8Array, hasMore = false) {
278 generateTracePacket(slices: ISlice[]): Uint8Array {
281 const fullBuffer = new Uint8Array(bufferSize);