blob: a392d36bc34f516b761947671386dcf691e2d72e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
package messages
import (
"github.com/pektezol/bitreader"
"github.com/pektezol/sdp.go/pkg/writer"
)
type SvcSetView struct {
EntityIndex uint16
}
func ParseSvcSetView(reader *bitreader.Reader) SvcSetView {
svcSetView := SvcSetView{
EntityIndex: uint16(reader.TryReadBits(11)),
}
writer.TempAppendLine("\t\tEntity Index: %d", svcSetView.EntityIndex)
return svcSetView
}
|