fix: compressed output support
add: func to get float vector hex
fix: big refactoring to remove htonl usage