Open updogliu opened 5 years ago
Version: 0.2.2
According to the spec, Vec<T> should be encoded as enc(k) enc([X[0], ..., X[k-1]]), when k is the length of the Vec<T>. However the current impl encodes it as enc(k, [X[0], ..., X[k-1]]).
Vec<T>
enc(k) enc([X[0], ..., X[k-1]])
k
enc(k, [X[0], ..., X[k-1]])
Version: 0.2.2
According to the spec,
Vec<T>
should be encoded asenc(k) enc([X[0], ..., X[k-1]])
, whenk
is the length of theVec<T>
. However the current impl encodes it asenc(k, [X[0], ..., X[k-1]])
.