summaryrefslogtreecommitdiff
path: root/vendor/github.com/pion/sctp/chunk.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/pion/sctp/chunk.go')
-rw-r--r--vendor/github.com/pion/sctp/chunk.go9
1 files changed, 9 insertions, 0 deletions
diff --git a/vendor/github.com/pion/sctp/chunk.go b/vendor/github.com/pion/sctp/chunk.go
new file mode 100644
index 0000000..ec47da1
--- /dev/null
+++ b/vendor/github.com/pion/sctp/chunk.go
@@ -0,0 +1,9 @@
+package sctp
+
+type chunk interface {
+ unmarshal(raw []byte) error
+ marshal() ([]byte, error)
+ check() (bool, error)
+
+ valueLength() int
+}