mirror of
https://github.com/pion/webrtc.git
synced 2025-11-01 03:04:06 +08:00
6 lines
110 B
Go
6 lines
110 B
Go
package sctp
|
|
|
|
func getPadding(len int, multiple int) int {
|
|
return (multiple - (len % multiple)) % multiple
|
|
}
|