Versions in this module Expand all Collapse all v0 v0.0.3 Sep 8, 2023 v0.0.2 Sep 8, 2023 Changes in this version + const ModuleName + func Base64DecodeAppend(dst []byte, src string) ([]byte, error) + func Bytes(r *goja.Runtime, v goja.Value) []byte + func DecodeBytes(r *goja.Runtime, arg, enc goja.Value) []byte + func Enable(runtime *goja.Runtime) + func EncodeBytes(r *goja.Runtime, data []byte, enc goja.Value) goja.Value + func Require(runtime *goja.Runtime, module *goja.Object) + func WrapBytes(r *goja.Runtime, data []byte) *goja.Object + type Buffer struct + func GetApi(r *goja.Runtime) *Buffer + func (b *Buffer) WrapBytes(data []byte) *goja.Object + type StringCodec interface + DecodeAppend func(string, []byte) []byte + Encode func([]byte) string + func StringCodecByName(name string) StringCodec