apple / apple/servicetalk

Consolidate Buffer -> byte[] logic in servicetalk-utils-internal

Open
#863 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
1k
Forks
229
Avg merge
23h 23m
Merged PRs (30d)
16

Description

#862 is adding a new module for shared utils (`servicetalk-utils-internal`). This opens up the door for extracting and consolidating the `Buffer` -> `byte[]` logic which has been copy/pastaed around for the lack of a shared home.

Contributor guide

Open the contributing guide

Research direction

Start by reviewing issue #862 and locating the existing Buffer -> byte[] implementations that are copied across the repository. Compare their behavior, then consolidate the shared logic in the servicetalk-utils-internal module and verify the affected tests still pass.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.