blob: 97db6cfedc0723d06f9c56d73637a84cbfba399f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
package classes
import (
"github.com/pektezol/bitreader"
"github.com/pektezol/sdp.go/pkg/writer"
)
type Stop struct {
RemainingData []byte
}
func (stop *Stop) ParseStop(reader *bitreader.Reader) {
if reader.TryReadBool() {
stop.RemainingData = reader.TryReadBitsToSlice(uint64(reader.TryReadRemainingBits()))
writer.AppendLine("\tRemaining Data: %v", stop.RemainingData)
}
}
|