Explorar el Código

reduce size of TransferType

Darien Raymond hace 7 años
padre
commit
61a1cce972
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      common/protocol/payload.go

+ 1 - 1
common/protocol/payload.go

@@ -1,6 +1,6 @@
 package protocol
 
-type TransferType int
+type TransferType byte
 
 const (
 	TransferTypeStream TransferType = 0