gren-lang / gren-lang/core

Change runtime representation of `Bytes` to `UInt8Array`

Open
#111 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
48
Forks
14
Avg merge
4h 14m
Merged PRs (30d)
1

Description

DataView is only used during encoding/decoding. UInt8Array is the more appropriate representation most of the time.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Locate the runtime definition of Bytes and every encoding and decoding path that currently uses DataView. Check the existing tests around those paths before changing the representation, and consider the work complete when Bytes uses UInt8Array without breaking encoding or decoding behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
backend
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.