Utility functions for dealing with data in Opasnet