use Uint16Array for ip parser