MCPcopy Create free account
hub / github.com/TheThingsNetwork/lorawan-stack / MarshalDLSettings

Function MarshalDLSettings

pkg/encoding/lorawan/messages.go:206–208  ·  view source on GitHub ↗

MarshalDLSettings returns encoded msg.

(msg *ttnpb.DLSettings)

Source from the content-addressed store, hash-verified

204
205// MarshalDLSettings returns encoded msg.
206func MarshalDLSettings(msg *ttnpb.DLSettings) ([]byte, error) {
207 return AppendDLSettings(make([]byte, 0, 1), msg)
208}
209
210// UnmarshalDLSettings unmarshals b into msg.
211func UnmarshalDLSettings(b []byte, msg *ttnpb.DLSettings) error {

Callers 1

HandleJoinRequestMethod · 0.92

Calls 1

AppendDLSettingsFunction · 0.85

Tested by

no test coverage detected