Add supports of Primitive Array Writer