diff options
Diffstat (limited to 'pkg/classes/stop.go')
| -rw-r--r-- | pkg/classes/stop.go | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/pkg/classes/stop.go b/pkg/classes/stop.go deleted file mode 100644 index 96bc1e4..0000000 --- a/pkg/classes/stop.go +++ /dev/null | |||
| @@ -1,15 +0,0 @@ | |||
| 1 | package classes | ||
| 2 | |||
| 3 | import ( | ||
| 4 | "github.com/pektezol/bitreader" | ||
| 5 | ) | ||
| 6 | |||
| 7 | type Stop struct { | ||
| 8 | RemainingData []byte | ||
| 9 | } | ||
| 10 | |||
| 11 | func (stop *Stop) ParseStop(reader *bitreader.Reader) { | ||
| 12 | if reader.TryReadBool() { | ||
| 13 | stop.RemainingData = reader.TryReadBitsToSlice(uint64(reader.TryReadRemainingBits())) | ||
| 14 | } | ||
| 15 | } | ||