Allow generic `DenseVector{UInt8}` as input/output
I want to compress data that is not of the type Vector{UInt8}, but instead has the more complicated type Base.ReinterpretArray{UInt8, 1, Float64, Vector{Float64}, false}. This is still a 1-d array with UInt8 elements, and as such the codecs would not care about the difference.
Julia has the type DenseVector to describe arrays that are stored contiguously. It would be nice if you could update the API to allow DenseVectors instead of just Vectors.
The encode function in https://github.com/JuliaIO/ChunkCodecs.jl supports this.
But it would be good to have support for some of the ChunkCodec interface in this package as well.
Thanks! I'm using that package now.