C How To Simulate An Nsdata Object In C?