Coding digital Vectors