Start to rewrite

This commit is contained in:
9seconds
2018-07-07 16:50:29 +03:00
parent a3933e6ede
commit 41b2b1c819
19 changed files with 603 additions and 565 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ package utils
import "io"
const readCurrentDataBufferSize = 1024 + 1
const readCurrentDataBufferSize = 1024 + 1 // + 1 because telegram operates with blocks mod 4
func ReadCurrentData(src io.Reader) (rv []byte, err error) {
buf := make([]byte, readCurrentDataBufferSize)