Move telegram to separate module

This commit is contained in:
9seconds
2018-06-19 08:56:12 +03:00
parent dd7a095947
commit 5a169b5026
6 changed files with 165 additions and 93 deletions
+1 -7
View File
@@ -58,13 +58,7 @@ func (f Frame) DC() (n int16) {
n = 1
}
if n < 0 {
n = -n
} else if n == 0 {
n = 1
}
return n - 1
return
}
// Valid checks that *decrypted* frame is valid. Only magic bytes are checked.