transcode for ByteData instead of only Vector{UInt8}

Open
#105 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
45/100
Issue type
Documentation
Clarity
Mostly clear
Activity status
Stale
Tech stack
julia
Domain
documentation

Research direction

Search the documentation for the transcode signature shown for Vector{UInt8}, then compare it with the code signature accepting ByteData. Update the documentation so it reflects the implementation, and verify that the documented signature matches the current code.

Written by the indexing model from the issue text.

Description

I noticed that the documentation says, that the signature of transcode is

transcode(codec::Codec, data::Vector{UInt8})::Vector{UInt8}

but then for the code we have the signature

transcode(codec::Codec, data::ByteData)

Should maybe maybe the documentation be adjusted?

Dominant language
Julia
Stars
90
Forks
26
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

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.

More from JuliaIO/TranscodingStreams.jl

All issues in JuliaIO/TranscodingStreams.jl

Similar issues

More Julia issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.