encodeQueueSize