UNPKG

@codesandbox/sandpack-client

Version:

<img style="width:100%" src="https://user-images.githubusercontent.com/4838076/143581035-ebee5ba2-9cb1-4fe8-a05b-2f44bd69bb4b.gif" alt="Component toolkit for live running code editing experiences" />

15 lines (14 loc) 540 B
/// <reference types="node" /> /** * (Nonstandard) String utility function for 8-bit ASCII with the extended * character set. Unlike the ASCII above, we do not mask the high bits. * * Placed into a separate file so it can be used with other Buffer implementations. * @see http://en.wikipedia.org/wiki/Extended_ASCII */ export default class ExtendedASCII { private static extendedChars; static str2byte(str: string, buf: Buffer): number; static byte2str(buff: Buffer): string; static byteLength(str: string): number; }