forbidden-bands

Crates.ioforbidden-bands
lib.rsforbidden-bands
version0.2.0
sourcesrc
created_at2024-01-21 12:38:12.887446
updated_at2024-11-20 19:11:59.422812
description8-bit string handling library
homepagehttps://github.com/jgerrish/forbidden-bands
repositoryhttps://github.com/jgerrish/forbidden-bands
max_upload_size
id1107566
size120,693
Joshua Gerrish (jgerrish)

documentation

README

forbidden-bands

8-bit string handling library build

Introduction

This is a collection of utilities and structures for dealing with different 8-bit strings. Basically it provides easy ways to converting strings to and from Rust string types and debugging those strings.

It depends on the standard library and core. It's not meant for embedded systems. The goal here is reading and writing old filesystems on newer systems. But it can be used for other projects.

Currently it supports fixed-length PETSCII strings. PETSCII is the character set used on early Commodore Business Machines systems.

Examples

To convert a PETSCII string to a Unicode string on the command line:

echo -n -e "\x0eABCD\x8e" | cargo run --example petscii_to_unicode

Contributing

Other 8-bit string support is welcome. Some other string types may be added in the future.

Commit count: 4

cargo fmt