Karl Stenerud

Results 160 comments of Karl Stenerud

Hmm I can see the benefits, but I've actually been stripping out types over the past year to keep the complexity as low as I can. I think this might...

Yup, also Julian dates are very common in accounting software. But additions such as these (while quite useful) would increase the footprint and complexity of the format. In order to...

LEB128 encoding stores data in 7-bit groups with a continuation bit field in the high bit of each group. So decoding of the length field continues progressively as long as...

The code that reads variable length integers in go-concise-encoding is [here](https://github.com/kstenerud/go-concise-encoding/blob/3f67efd5c0aa83d68cbfda6e46741472d010e6e4/cbe/decoder_reader.go#L97), which gets the length field by calling [here](https://github.com/kstenerud/go-concise-encoding/blob/3f67efd5c0aa83d68cbfda6e46741472d010e6e4/cbe/decoder_reader.go#L207) and ultimately [this](https://github.com/kstenerud/go-uleb128/blob/master/uleb.go#L122)

It's mainly about signalling the intent and structure of the data. - `u8` (and all variants such as `u8x`) is simply an array of values in the range 0-255, with...

Yeah, I was hoping to rig something up with a templating engine (in python or whatever) to generate a finalized grammar file with stub code for whatever language is being...

BTW please do write up anything that you find confusing or weird in the spec. If it's confusing, it's badly written!

Hi, thanks for your interest! CE supports [decimal floating point numbers](https://github.com/kstenerud/concise-encoding/blob/master/ce-structure.md#floating-point) to arbitrary precision and size, which should handle currency values without losing anything to rounding. In the text format,...

Hmm that's true... It's gone through so many revisions that the nuance has been lost. Binary float was supposed to be mainly for legacy support. I'll update things to make...

https://github.com/kstenerud/concise-encoding/commit/26898b2637fe49d2165a11473cb5681bb582f6b3