Blob has overhead bytes
- Linguagem predominante
- TypeScript
- Estrelas
- 513
- Forks
- 52
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Descrição
Hello,
I just noticed the Blob one retrieves by RarArchive.get() contains an overhead.
Split archive with 4 Parts:

Single Archive:

One can solve this by using
`blob = blob.slice(0, blob.size - (blob.size - val.sizePacked), blob.type);`
in the callback function, where 'val' is the RarEntry passed to RarArchive.get().
I personally think it is produced somewhere in your validaton and/or reading of the bytes from the archive, but I couldnt figure out where exactly, yet. :(
(If I do, I will inform you, but as for now, this workaround will do the job for me.)
Guia de contribuição
Nenhum guia de contribuição indexado para este repositório
Direção de pesquisa
A issue descreve um overhead de Blob em RarArchive.get(). Veja o método RarArchive.get() e o callback onde o blob é criado. O workaround usa blob.slice com val.sizePacked. Examine como os blobs são construídos a partir de archive data, com foco em etapas de validação ou leitura de bytes. Verifique a interface RarEntry para sizePacked. Executar o cenário de test images fornecido pode ajudar a reproduzir o overhead.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- javascript
- Domínio
- backend, data
- Tipo de issue
- Bug
- Dificuldade
- 3/5
- Tempo estimado
- 1-2 dias
- Status de atividade
- Estagnada
- Clareza
- Razoavelmente clara
- Facilidade para iniciantes
- 45/100