function validateEncodingimport { validateEncoding } from "https://dotland.deno.dev/std@0.177.0/node/internal/validators.mjs"; validateEncoding(data, encoding)Parametersdataencoding