convert idDrawVert arrays to bytes