EncodeBytes returns the given byte slice encoded as string with the given encoding. If encoding is not specified or not supported, returns a Buffer that wraps the data.
(r *goja.Runtime, data []byte, enc goja.Value)
source not stored for this graph (policy: none)
nothing calls this directly
no test coverage detected
searching dependent graphs…