/
EvilBeaver
/
OneScript
Обзор
Документация
Войти
/
EvilBeaver
/
OneScript
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
v2.0.1
src/OneScript.StandardLibrary/Binary/BitConversionFacility.cs
25 строк
789 B
EvilBeaver
Рефакторинг стандартной библиотеки, нейспейсов и глобальных контекстов
29 янв 2020, 12:06
29 янв 2020, 12:06
375e9f2
Код
Авторство
О чём код?
/*---------------------------------------------------------- This Source Code Form is subject to the terms of the Mozilla Public License, v.2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. ----------------------------------------------------------*/ namespace OneScript.StandardLibrary.Binary { public static class BitConversionFacility { static BitConversionFacility() { LittleEndian = new EndianBitConverter() { IsLittleEndian = true }; BigEndian = new EndianBitConverter(); } public static EndianBitConverter LittleEndian { get; set; } public static EndianBitConverter BigEndian { get; set; } } }