Searched refs:payloadLen (Results 1 – 1 of 1) sorted by relevance
460 uint64_t payloadLen = data[1] & 0x7f; in readMore() local461 if (payloadLen == 126) { in readMore()466 payloadLen = U16_AT(&data[offset]); in readMore()468 } else if (payloadLen == 127) { in readMore()473 payloadLen = U64_AT(&data[offset]); in readMore()488 if (payloadLen > mInBuffer.size() || offset > mInBuffer.size() - payloadLen) { in readMore()494 sp<ABuffer> packet = new ABuffer(payloadLen); in readMore()495 memcpy(packet->data(), &data[offset], payloadLen); in readMore()498 for (size_t i = 0; i < payloadLen; ++i) { in readMore()512 mInBuffer.erase(0, offset + payloadLen); in readMore()