We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nil
Thanks for awesome library!
I need to serialize no value in some cases. For example:
(b/header :int-be (fn header->body-codec [length] (if (= -1 length) codec/null (b/blob :length length))) "not used")
So I add null codec. But it's ugly:
;; hack (def null (b/compile-codec (byte-array 0) (constantly (byte-array 0)) (constantly nil)))
Is it possible to make public BinaryIO protocol or add nil primitive codec?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Thanks for awesome library!
I need to serialize no value in some cases. For example:
So I add null codec. But it's ugly:
Is it possible to make public BinaryIO protocol or add
nil
primitive codec?The text was updated successfully, but these errors were encountered: