diff options
| author | Arda Serdar Pektezol <1669855+pektezol@users.noreply.github.com> | 2023-09-23 10:06:39 +0300 |
|---|---|---|
| committer | Arda Serdar Pektezol <1669855+pektezol@users.noreply.github.com> | 2023-09-23 10:06:39 +0300 |
| commit | 9991801e4037d8dc530876584f21c1674c9e3bba (patch) | |
| tree | efa20cd6aa6556cfdea81f4c99251e0688847ca6 /pkg/messages/types/svcSendTable.go | |
| parent | organize packets and classes (#9) (diff) | |
| download | sdp.go-9991801e4037d8dc530876584f21c1674c9e3bba.tar.gz sdp.go-9991801e4037d8dc530876584f21c1674c9e3bba.tar.bz2 sdp.go-9991801e4037d8dc530876584f21c1674c9e3bba.zip | |
init: will look at this laterverification
Diffstat (limited to 'pkg/messages/types/svcSendTable.go')
| -rw-r--r-- | pkg/messages/types/svcSendTable.go | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/pkg/messages/types/svcSendTable.go b/pkg/messages/types/svcSendTable.go index 78df195..4397db0 100644 --- a/pkg/messages/types/svcSendTable.go +++ b/pkg/messages/types/svcSendTable.go | |||
| @@ -2,7 +2,6 @@ package messages | |||
| 2 | 2 | ||
| 3 | import ( | 3 | import ( |
| 4 | "github.com/pektezol/bitreader" | 4 | "github.com/pektezol/bitreader" |
| 5 | "github.com/pektezol/demoparser/pkg/writer" | ||
| 6 | ) | 5 | ) |
| 7 | 6 | ||
| 8 | type SvcSendTable struct { | 7 | type SvcSendTable struct { |
| @@ -17,8 +16,6 @@ func ParseSvcSendTable(reader *bitreader.Reader) SvcSendTable { | |||
| 17 | Length: reader.TryReadUInt8(), | 16 | Length: reader.TryReadUInt8(), |
| 18 | } | 17 | } |
| 19 | svcSendTable.Props = uint32(reader.TryReadBits(uint64(svcSendTable.Length))) | 18 | svcSendTable.Props = uint32(reader.TryReadBits(uint64(svcSendTable.Length))) |
| 20 | writer.TempAppendLine("\t\tNeeds Decoder: %t", svcSendTable.NeedsDecoder) | 19 | |
| 21 | writer.TempAppendLine("\t\tLength: %d", svcSendTable.Length) | ||
| 22 | writer.TempAppendLine("\t\tProps: %d", svcSendTable.Props) | ||
| 23 | return svcSendTable | 20 | return svcSendTable |
| 24 | } | 21 | } |