All Downloads are FREE. Search and download functionalities are using the official Maven repository.

vendor.github.com.pion.stun.fingerprint_debug.go Maven / Gradle / Ivy

There is a newer version: 2.9.1
Show newest version
// +build debug

package stun

import "fmt"

// CRCMismatch represents CRC check error.
type CRCMismatch struct {
	Expected uint32
	Actual   uint32
}

func (m CRCMismatch) Error() string {
	return fmt.Sprintf("CRC mismatch: %x (expected) != %x (actual)",
		m.Expected,
		m.Actual,
	)
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy