func deserializeAddressInfo(infoBytes []byte) *addressInfo {

	info := addressInfo{}

	copy(info.address[:], infoBytes[0:4])
	copy(info.nodePubKey[:], infoBytes[4:37])
	info.registrationHeight = binary.LittleEndian.Uint64(infoBytes[37:45])
	copy(info.registrationTxID[:], infoBytes[36:68])
	info.version = binary.LittleEndian.Uint32(infoBytes[45:49])

	return &info
}
// Deserialize in the following order: address, nodePubKey, blockHeight, txID, version)
Deserialize in the following order: address, nodePubKey, blockHeight, txID, version)
// Deserialize in the following order : address nodePubKey blockHeight txID version )
func deserializeAddressInfo(infoBytes []byte) *addressInfo {
	info := addressInfo{}
	copy(info.address[:], infoBytes[0:4])
	copy(info.nodePubKey[:], infoBytes[4:37])
	info.registrationHeight = binary.LittleEndian.Uint64(infoBytes[37:45])
	copy(info.registrationTxID[:], infoBytes[36:68])
	info.version = binary.LittleEndian.Uint32(infoBytes[45:49])
	return &info
}
func deserializeAddressInfo ( infoBytes [ ] byte ) * addressInfo { info := addressInfo { } copy ( info . address [ : ] , infoBytes [ 0 : 4 ] ) copy ( info . nodePubKey [ : ] , infoBytes [ 4 : 37 ] ) info . registrationHeight = binary . LittleEndian . Uint64 ( infoBytes [ 37 : 45 ] ) copy ( info . registrationTxID [ : ] , infoBytes [ 36 : 68 ] ) info . version = binary . LittleEndian . Uint32 ( infoBytes [ 45 : 49 ] ) return & info }
Deserialize in the following order: address, nodePubKey, blockHeight, txID, version)
Deserialize in the following order : address nodePubKey blockHeight txID version )