Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/saschpe/Kex
Hex string encoder/decoder for Kotlin/Multiplatform. Supports Android, iOS, JavaScript and plain JVM environments.
https://github.com/saschpe/Kex
android hex hex-strings ios kotlin kotlin-library kotlin-multiplatform
Last synced: 6 days ago
JSON representation
Hex string encoder/decoder for Kotlin/Multiplatform. Supports Android, iOS, JavaScript and plain JVM environments.
- Host: GitHub
- URL: https://github.com/saschpe/Kex
- Owner: saschpe
- License: apache-2.0
- Created: 2022-03-07T11:40:54.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-03T09:33:59.000Z (about 1 month ago)
- Last Synced: 2024-10-28T07:55:29.014Z (12 days ago)
- Topics: android, hex, hex-strings, ios, kotlin, kotlin-library, kotlin-multiplatform
- Language: Kotlin
- Homepage:
- Size: 196 KB
- Stars: 9
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
- awesome-kotlin-multiplatform - Kex - Hex string encoder/decoder for Kotlin/Multiplatform. (Libraries / Serializer)
README
# Kex
![Kotlin Version](https://img.shields.io/badge/Kotlin-1.7.10-B125EA?logo=kotlin)
[![Maven Central](https://img.shields.io/maven-central/v/de.peilicke.sascha/kex.svg?label=Maven%20Central)](https://search.maven.org/search?q=g:%22de.peilicke.sascha%22%20AND%20a:%22kex%22)
[![Build Status](https://github.com/saschpe/kex/workflows/Main%20CI/badge.svg)](https://github.com/saschpe/kex/actions)
[![License](http://img.shields.io/:License-Apache-blue.svg)](http://www.apache.org/licenses/LICENSE-2.0.html)![badge-android](http://img.shields.io/badge/Platform-Android-brightgreen.svg?logo=android)
![badge-ios](http://img.shields.io/badge/Platform-iOS-orange.svg?logo=apple)
![badge-js](http://img.shields.io/badge/Platform-NodeJS-yellow.svg?logo=javascript)
![badge-jvm](http://img.shields.io/badge/Platform-JVM-red.svg?logo=openjdk)
![badge-linux](http://img.shields.io/badge/Platform-Linux-lightgrey.svg?logo=linux)
![badge-macos](http://img.shields.io/badge/Platform-macOS-orange.svg?logo=apple)
![badge-windows](http://img.shields.io/badge/Platform-Windows-blue.svg?logo=windows)[//]: # (![badge-tvos](http://img.shields.io/badge/Platform-tvOS-orange.svg?logo=apple))
[//]: # (![badge-watchos](http://img.shields.io/badge/Platform-watchOS-orange.svg?logo=apple))
Hex string encoder/decoder for Kotlin/Multiplatform. Supports Android, iOS, Linux, JavaScript, Windows, watchOS, tvOS
and plain JVM environments.## Download
Artifacts are published to [Maven Central][maven-central]:
```kotlin
repositories {
mavenCentral()
}dependencies {
implementation("de.peilicke.sascha:kex:1.1.2")
}
```## Usage
See the various unit test cases for the various conversion functions
- [ByteArrayTest](kex/src/commonTest/kotlin/saschpe/kex/ByteArrayTest.kt)
- [HexTest](kex/src/commonTest/kotlin/saschpe/kex/HexTest.kt)
- [StringTest](kex/src/commonTest/kotlin/saschpe/kex/StringTest.kt)## License
Copyright 2022 Sascha Peilicke
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License athttp://www.apache.org/licenses/LICENSE-2.0
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.[maven-central]: https://search.maven.org/artifact/de.peilicke.sascha/kex