commonMain.elide.core.encoding.Encoding.kt Maven / Gradle / Ivy
/*
* Copyright (c) 2023 Elide Ventures, LLC.
*
* Licensed under the MIT license (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* https://opensource.org/license/mit/
*
* Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
* an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under the License.
*/
package elide.core.encoding
/** Enumerates supported encodings and binds [Encoder] instances to each. */
public enum class Encoding {
/** Hex encoding. */
HEX,
/** Base64 encoding. */
BASE64,
/** Plain UTF-8 encoding. */
UTF_8,
/** UTF-16 encoding. */
UTF_16,
/** UTF-32 encoding. */
UTF_32
}