gleam-lang / gleam-lang/stdlib

Add `bit_array.to_string_utf16` and `to_string_utf32`

Open
#832 8 comments 0 reactions 0 assignees View on GitHub
help wanted
Dominant language
Gleam
Stars
710
Forks
225
Avg merge
5h 52m
Merged PRs (30d)
3

Description

Some binary protocols (for example [ID3](https://id3.org/)) use UTF-16 encoded text, which right now must be manually converted to a string. It could be useful to have `bit_array.to_string_utf16` function to perform this conversion. `to_string_utf32` is not something that I've personally needed, but could be useful as well.

Additionally it could be helpful to be able to specify endianness as that is something which varies across standards.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.