MCPcopy Create free account
hub / github.com/pion/dtls / CompressionMethods

Function CompressionMethods

pkg/protocol/compression_method.go:19–23  ·  view source on GitHub ↗

CompressionMethods returns all supported CompressionMethods.

()

Source from the content-addressed store, hash-verified

17
18// CompressionMethods returns all supported CompressionMethods.
19func CompressionMethods() map[CompressionMethodID]*CompressionMethod {
20 return map[CompressionMethodID]*CompressionMethod{
21 compressionMethodNull: {ID: compressionMethodNull},
22 }
23}
24
25// DecodeCompressionMethods the given compression methods.
26func DecodeCompressionMethods(buf []byte) ([]*CompressionMethod, error) {

Callers 2

UnmarshalMethod · 0.92
DecodeCompressionMethodsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…