HDF5.jl
HDF5.jl copied to clipboard
datatype(String) fails
datatype("this is a string") works, but datatype(String) fails with a MethodError. Seems like a missing method, since e.g. both datatype(1.0) and datatype(Float64) work.
Mentioned on julia-users.
I'm not sure this is possible? Repeated calls to datatype("this is a string") don't return the same value.
I don't think this makes sense How are we supposed to know the string size, unless we make it variable?
I guess we could make datatype(String) use H5T_VARIABLE
@jmert any thoughts on my proposal here?