cleanup
refactoring
removed big endian support, not used by sql server
refactoring
refactoring