You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
package dmr
|
|
|
|
import "github.com/pd0mz/go-dmr/bit"
|
|
|
|
func ExtractInfoBits(payload bit.Bits) bit.Bits {
|
|
var b = make(bit.Bits, InfoBits)
|
|
copy(b[:InfoHalfBits], payload[:InfoHalfBits])
|
|
copy(b[InfoHalfBits:], payload[InfoHalfBits+SignalBits+SlotTypeBits:])
|
|
return b
|
|
}
|