1. A method comprising: dividing coefficient values of a coefficient vector representative of a block of an image into a plurality of sub-vectors without padded zeros; indicating a position of a sub-vector of the plurality of sub-vectors within the coefficient vector; and encoding coefficient values of the sub-vector using a variable-length coder and the indication of the position of the sub-vector.