babbler encode / decode