I have multiple incoming socket data handlers. And all of them share the same initial validation-check and a function that converts buffer into an array. Also, each time I need