Fix write and read S32 vectors