Skip to content

Instantly share code, notes, and snippets.

View 837's full-sized avatar
👻

Matthias Ernst 837

👻
View GitHub Profile
@MarkusKramer
MarkusKramer / Base64.kt
Last active May 14, 2024 11:54
Kotlin Multiplatform Base64 - no extra dependencies. Based on Java's implementation.
/*
* Copyright (c) 2012, 2018, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
* particular file as subject to the "Classpath" exception as provided
* by Oracle in the LICENSE file that accompanied this code.
*