package util
import "github.com/pion/dtls/v2/internal/util"
Package util contains small helpers used across the repo
Index ¶
- func BigEndianUint24(raw []byte) uint32
- func Max(a, b int) int
- func PutBigEndianUint24(out []byte, in uint32)
- func PutBigEndianUint48(out []byte, in uint64)
Functions ¶
func BigEndianUint24 ¶
BigEndianUint24 returns the value of a big endian uint24
func Max ¶
Max returns the larger value
func PutBigEndianUint24 ¶
PutBigEndianUint24 encodes a uint24 and places into out
func PutBigEndianUint48 ¶
PutBigEndianUint48 encodes a uint64 and places into out
Source Files ¶
- Version
- v2.2.12 (latest)
- Published
- Jul 20, 2024
- Platform
- linux/amd64
- Imports
- 1 packages
- Last checked
- 3 hours ago –
Tools for package owners.