func Status2Bytes()

in binary/util.go [59:65]


func Status2Bytes(version int, locationType int) []byte {
	version &= 0b111
	locationType &= 0b1111
	byteInteger := version + (locationType << 3)

	return Int2Bytes(byteInteger, 1, false)
}