Kafka emission of Buffer messages

It would help if there was a node for: sending Buffer messages with the Kafka node

My use case:

I need to send encoded Protobuf information which is then processed in python. While I can have a “success” message if I cast my Buffer object to string, the processing of it breaks with an IndexError because the bytes don’t make sense I guess. Even though Buffer messages are supposed to be an option already, the code fails as Buffer objects appear to be objects and not of type Buffer. Also, the message is cast to string so this precludes usage of this node as is for those who need Buffer messages and not string messages.

Any resources to support this?

Issue where this edge case was investigated, it contains the function I created from the existing Typescript Kafka node codebase from n8n: Kafka event emission with Buffer message fails - #9 by Delphine_Pessoa

Are you willing to work on this?

Yes, but I would need help for clarifying doubts and verifying the proposal