1/* 2 * Copyright 2018 Google 3 * SPDX-License-Identifier: MIT 4 */ 5 void flush(); 6 void lock(); 7 void unlock(); 8 void incRef(); 9 bool decRef(); 10 std::string getPacketContents(const uint8_t* ptr, size_t len); 11 uint32_t refCount = 1; 12 #define POOL_CLEAR_INTERVAL 10 13 uint32_t encodeCount = 0; 14 uint32_t featureBits = 0; 15