gloss
gloss copied to clipboard
speaks in bytes, so you don't have to
The issue seems to be caused by a race condition that closes ```dst``` when ```src``` is drained but the last value hasn't yet been put: https://github.com/ztellman/gloss/blob/master/src/gloss/io.clj#L156 Would be happy to...
This feels a bit ugly but was the simplest way I came up with to address #41.
I think the answer is `(repeat 32 :byte)` which mostly works except for the part where it interacts poorly with other byte types, since you're forcing it to be a...
http://ideolalia.com/gloss/gloss.io-api.html
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...
I implementing protocol, which has multiple byte codes for one type. For example **digital message** may have codes in range of 0x90 - 0x9F. Naive function for generating that type...
When using gloss.io/contiguous as a convenience for rolling a sequence of ByteBuffer into a single buffer I've found that: - if my sequence contains only a single ByteBuffer - that...
Hi Zach, Currently compile-frame supports pre-encoder and post-decoder methods to manipulate the data-structure before/after use with a codec. I'm currently using a third scenario - a pre-decoder method which manipulates...
Hi Zach, I'm using Gloss to decode different types of repeated headers, often following the Internet Message (RFC-5322) style. Given the simple case of a repeated header in the style...
(encode (repeated (string :utf8) :prefix :byte) nil) throws an exception. This might be wrong because nil might be a valid value for repeated encoding because zero elements to encode should...