algorand / algorand/go-algorand

Add extra byte operators to make bytestring serialization easier

Abierto
#5,517 2 comentarios 0 reacciones 0 asignados Ver en GitHub
Enhancement
Lenguaje dominante
Go
Estrellas
1.4k
Forks
537
Merge medio
1 d 7 h
PR fusionados (30 d)
18

Descripción

## Status

The current status is that we have a limited number of byte operators available: Length, Concatenation, Substring, and Extract.

## Expected

The expectation is to add extra byte operators that will facilitate easier serialization of strings.

## Solution

Adding functions such as 'find', 'split', 'join', and 'replace' would make bytestring manipulation a lot easier. Those are just a few examples, but I'm sure there's many more functions that could be introduced.

## Dependencies

No dependencies

## Urgency

Given the increasing use of boxes, which necessitate the use of bytestrings, there is an urgency to allow for easier data manipulation within a smart contract. Without them, it's difficult to use boxes as effectively as they could be.

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.