aboutsummaryrefslogtreecommitdiff
path: root/pkg/messages/types/svcSetView.go
diff options
context:
space:
mode:
authorArda Serdar Pektezol <1669855+pektezol@users.noreply.github.com>2023-09-17 18:24:18 +0300
committerArda Serdar Pektezol <1669855+pektezol@users.noreply.github.com>2023-09-20 11:10:20 +0300
commit6aa511f2ae3d5c84e7db02627ffd4d7f6796ce75 (patch)
treee925740a5c04b1c5c44e725dab04f9b1833cf9e3 /pkg/messages/types/svcSetView.go
parentparse netSignOnState flags (diff)
downloadsdp.go-6aa511f2ae3d5c84e7db02627ffd4d7f6796ce75.tar.gz
sdp.go-6aa511f2ae3d5c84e7db02627ffd4d7f6796ce75.tar.bz2
sdp.go-6aa511f2ae3d5c84e7db02627ffd4d7f6796ce75.zip
decide what message types are left
Diffstat (limited to 'pkg/messages/types/svcSetView.go')
-rw-r--r--pkg/messages/types/svcSetView.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/messages/types/svcSetView.go b/pkg/messages/types/svcSetView.go
index 266a539..4ba5e3c 100644
--- a/pkg/messages/types/svcSetView.go
+++ b/pkg/messages/types/svcSetView.go
@@ -3,11 +3,11 @@ package messages
3import "github.com/pektezol/bitreader" 3import "github.com/pektezol/bitreader"
4 4
5type SvcSetView struct { 5type SvcSetView struct {
6 EntityIndex int16 6 EntityIndex uint16
7} 7}
8 8
9func ParseSvcSetView(reader *bitreader.Reader) SvcSetView { 9func ParseSvcSetView(reader *bitreader.Reader) SvcSetView {
10 return SvcSetView{ 10 return SvcSetView{
11 EntityIndex: int16(reader.TryReadBits(11)), 11 EntityIndex: uint16(reader.TryReadBits(11)),
12 } 12 }
13} 13}