Same as for takeSmallBuffer, but this one only has one caller (in `writeExecutePacket`).