Darien Raymond 8 년 전
부모
커밋
97a09bb5bd
2개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 0
      common/serial/bytes.go
  2. 1 1
      core.go

+ 1 - 0
common/serial/bytes.go

@@ -20,6 +20,7 @@ func BytesToUint32(value []byte) uint32 {
 		uint32(value[3])
 }
 
+// BytesToInt deserializes a bytes array (of at leat 4 bytes) to an int in big endian order.
 func BytesToInt(value []byte) int {
 	return int(value[0])<<24 |
 		int(value[1])<<16 |

+ 1 - 1
core.go

@@ -18,7 +18,7 @@ import (
 )
 
 var (
-	version  = "2.35"
+	version  = "2.36"
 	build    = "Custom"
 	codename = "One for all"
 	intro    = "An unified platform for anti-censorship."