Skip to content

Use array fragment for message body #422

Open
@acogoluegnes

Description

@acogoluegnes

Sometimes the message body can be just a subset of a byte array and the only way now to send this subset is to copy it into another array and use it as message body.

To avoid a copy, the Channel could be extended with basicPublish methods that accept an array fragment parameter (array of byte, offset, and length).

More context: #421, #421 (comment), #421 (comment).

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions