mirror of
https://github.com/vercel-labs/scriptc.git
synced 2026-10-20 05:40:17 +08:00
- Extend native FFI with additional scalar widths and writable byte spans. - Compile stored text codecs and supported bundled module patterns without a JavaScript engine. - Document supported limits.
4 lines
87 B
TypeScript
4 lines
87 B
TypeScript
export class TextEncoder {
|
|
encode(text: string): string { return "user:" + text; }
|
|
}
|