UNPKG

1.31 kBJavaScriptView Raw
1"use strict";
2// *****************************************************************************
3// Copyright (C) 2020 TypeFox and others.
4//
5// This program and the accompanying materials are made available under the
6// terms of the Eclipse Public License v. 2.0 which is available at
7// http://www.eclipse.org/legal/epl-2.0.
8//
9// This Source Code may also be made available under the following Secondary
10// Licenses when the conditions for such availability set forth in the Eclipse
11// Public License v. 2.0 are satisfied: GNU General Public License, version 2
12// with the GNU Classpath Exception which is available at
13// https://www.gnu.org/software/classpath/license.html.
14//
15// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
16// *****************************************************************************
17Object.defineProperty(exports, "__esModule", { value: true });
18exports.UTF8_BOM = exports.UTF16le_BOM = exports.UTF16be_BOM = exports.UTF16le = exports.UTF16be = exports.UTF8_with_bom = exports.UTF8 = void 0;
19exports.UTF8 = 'utf8';
20exports.UTF8_with_bom = 'utf8bom';
21exports.UTF16be = 'utf16be';
22exports.UTF16le = 'utf16le';
23exports.UTF16be_BOM = [0xFE, 0xFF];
24exports.UTF16le_BOM = [0xFF, 0xFE];
25exports.UTF8_BOM = [0xEF, 0xBB, 0xBF];
26//# sourceMappingURL=encodings.js.map
\No newline at end of file