feat: compile support for 32bit and bsd platforms

This commit is contained in:
Ben McClelland
2024-03-11 09:42:36 -07:00
parent 57c3700410
commit d4d511cf98
13 changed files with 154 additions and 96 deletions
+1 -2
View File
@@ -123,8 +123,7 @@ func generatePrelude(msgLen int, headerLen int) []byte {
}
const (
maxHeaderSize = 1024 * 1024
maxMessageSize = 5 * 1024 * 1024 * 1024
maxHeaderSize = 1024 * 1024
)
func genMessage(header, payload []byte) []byte {