implements fixext/ext datatype