/moonbit-base64

MoonBit base64: provide simple base64 operations.

Primary LanguageMoonBitApache License 2.0Apache-2.0

gmlewis/base64

check

This is a simple base64 encoder based on Go's implementation: https://cs.opensource.google/go/go/+/master:src/encoding/base64/base64.go which has the copyright notice:

// Copyright 2009 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

The UTF-16 / UTF-8 encoder/decoders are provided with permission by @peter-jerry-ye from this repo: https://github.com/peter-jerry-ye/jstream

Status

The code has been updated to support compiler:

$ moon version --all
moon 0.1.20241202 (28bfce6 2024-12-02) ~/.moon/bin/moon
moonc v0.1.20241202+8756d160d ~/.moon/bin/moonc
moonrun 0.1.20241202 (28bfce6 2024-12-02) ~/.moon/bin/moonrun

Use moonup to manage moon compiler versions: https://github.com/chawyehsu/moonup