aboutsummaryrefslogtreecommitdiff
path: root/pkg/classes/stop.go
diff options
context:
space:
mode:
authorArda Serdar Pektezol <1669855+pektezol@users.noreply.github.com>2023-09-23 10:06:39 +0300
committerArda Serdar Pektezol <1669855+pektezol@users.noreply.github.com>2023-09-23 10:06:39 +0300
commit9991801e4037d8dc530876584f21c1674c9e3bba (patch)
treeefa20cd6aa6556cfdea81f4c99251e0688847ca6 /pkg/classes/stop.go
parentorganize packets and classes (#9) (diff)
downloadsdp.go-9991801e4037d8dc530876584f21c1674c9e3bba.tar.gz
sdp.go-9991801e4037d8dc530876584f21c1674c9e3bba.tar.bz2
sdp.go-9991801e4037d8dc530876584f21c1674c9e3bba.zip
init: will look at this laterverification
Diffstat (limited to 'pkg/classes/stop.go')
-rw-r--r--pkg/classes/stop.go17
1 files changed, 0 insertions, 17 deletions
diff --git a/pkg/classes/stop.go b/pkg/classes/stop.go
deleted file mode 100644
index 753be19..0000000
--- a/pkg/classes/stop.go
+++ /dev/null
@@ -1,17 +0,0 @@
1package classes
2
3import (
4 "github.com/pektezol/bitreader"
5 "github.com/pektezol/demoparser/pkg/writer"
6)
7
8type Stop struct {
9 RemainingData []byte
10}
11
12func (stop *Stop) ParseStop(reader *bitreader.Reader) {
13 if reader.TryReadBool() {
14 stop.RemainingData = reader.TryReadBitsToSlice(uint64(reader.TryReadRemainingBits()))
15 writer.AppendLine("\tRemaining Data: %v", stop.RemainingData)
16 }
17}