remove read func from iowrite but add to ioread
add auto determined extern array build type