clj-commons / clj-commons/gloss

Adding support for direct byte-buffers

Open
#41 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Clojure
Stars
486
Forks
53
PR merge metrics
No merged PRs in 30d

Description

I really like the synergy between `byte-streams` and `gloss`, so I found it a bit odd that while `byte-streams` supports converting to a DirectByteBuffer via the options map, there doesn't seem to be way for `gloss` to create DirectByteBuffers from its codecs. Perhaps `encode` could accept an optional option map similar to how `byte-streams/convert` does?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading the codec encode API in gloss and compare it with the options-map behavior of byte-streams/convert. Determine how DirectByteBuffer creation should be requested, then verify that codecs can produce direct buffers without changing existing encoding behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
clojure
Domain
backend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 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.