small utility functions
Merge branch 'master' of https://github.com/dma-ais/AisLib