1
0
mirror of https://github.com/fumiama/go-base16384.git synced 2026-06-23 12:40:32 +08:00

fix generic panic, add movbe check

This commit is contained in:
源文雨
2022-09-17 20:38:32 +08:00
parent ceb3054caa
commit b75d6ab6d8
6 changed files with 90 additions and 43 deletions

12
base14_noasm.go Normal file
View File

@@ -0,0 +1,12 @@
//go:build !amd64
// +build !amd64
package base14
import _ "unsafe"
//go:linkname encode github.com/fumiama/go-base16384.encodeGeneric
func encode(offset, outlen int, b, encd []byte)
//go:linkname decode github.com/fumiama/go-base16384.decodeGeneric
func decode(offset, outlen int, b, decd []byte)