Searched refs:numHeaderBytes (Results 1 – 1 of 1) sorted by relevance
141 size_t numHeaderBytes = 2 + (kUseMask ? 4 : 0); in sendMessage() local143 numHeaderBytes += 8; in sendMessage()145 numHeaderBytes += 2; in sendMessage()157 std::unique_ptr<uint8_t[]> buffer(new uint8_t[numHeaderBytes + size]); in sendMessage()182 msg[numHeaderBytes - 4] = (mask >> 24) & 0xff; in sendMessage()183 msg[numHeaderBytes - 3] = (mask >> 16) & 0xff; in sendMessage()184 msg[numHeaderBytes - 2] = (mask >> 8) & 0xff; in sendMessage()185 msg[numHeaderBytes - 1] = mask & 0xff; in sendMessage()188 msg[numHeaderBytes + i] = in sendMessage()193 memcpy(&msg[numHeaderBytes], data, size); in sendMessage()[all …]