ByteArrayQueue moved to util module