Home Manual Reference Source

src/encode.js

import _encode from './_encode.js';
import DEFAULT_OPTIONS from './DEFAULT_OPTIONS.js';

export default function encode(bytes, options = DEFAULT_OPTIONS) {
	return [..._encode(bytes, options)];
}