simple9/encoding.go
func pack14(in []uint32) uint32 {
	return 1<<28 |
		in[0] |
		in[1]<<2 |
		in[2]<<4 |
		in[3]<<6 |
		in[4]<<8 |
		in[5]<<10 |
		in[6]<<12 |
		in[7]<<14 |
		in[8]<<16 |
		in[9]<<18 |
		in[10]<<20 |
		in[11]<<22 |
		in[12]<<24 |
		in[13]<<26
}
func pack14(in []uint32) uint32 {
	return 1<<28 |
		in[0] |
		in[1]<<2 |
		in[2]<<4 |
		in[3]<<6 |
		in[4]<<8 |
		in[5]<<10 |
		in[6]<<12 |
		in[7]<<14 |
		in[8]<<16 |
		in[9]<<18 |
		in[10]<<20 |
		in[11]<<22 |
		in[12]<<24 |
		in[13]<<26
}
func pack14 ( in [ ] uint32 ) uint32 { return 1 << 28 | in [ 0 ] | in [ 1 ] << 2 | in [ 2 ] << 4 | in [ 3 ] << 6 | in [ 4 ] << 8 | in [ 5 ] << 10 | in [ 6 ] << 12 | in [ 7 ] << 14 | in [ 8 ] << 16 | in [ 9 ] << 18 | in [ 10 ] << 20 | in [ 11 ] << 22 | in [ 12 ] << 24 | in [ 13 ] << 26 }
// pack14 packs 14 values from in using 2 bits each
pack14 packs 14 values from in using 2 bits each