refactor binary encoding to its own package (#1187)
move binary encoder to its own package Signed-off-by: Edoardo Vacchi <evacchi@users.noreply.github.com>
This commit is contained in:
@@ -29,7 +29,7 @@ type DecodeModule func(
|
||||
) (result *Module, err error)
|
||||
|
||||
// EncodeModule encodes the given module into a byte slice depending on the format of the implementation.
|
||||
// See binary.EncodeModule
|
||||
// See binaryencoding.EncodeModule
|
||||
type EncodeModule func(m *Module) (bytes []byte)
|
||||
|
||||
// Module is a WebAssembly binary representation.
|
||||
|
||||
Reference in New Issue
Block a user