Last change
on this file since 6a3a178 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
366 bytes
|
Line | |
---|
1 | /// <reference types="node" />
|
---|
2 | export declare type TDataOut = string | Buffer;
|
---|
3 | export declare type TEncodingExtended = BufferEncoding | 'buffer';
|
---|
4 | export declare const ENCODING_UTF8: BufferEncoding;
|
---|
5 | export declare function assertEncoding(encoding: string | undefined): void;
|
---|
6 | export declare function strToEncoding(str: string, encoding?: TEncodingExtended): TDataOut;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.