refactor get(dst, offset, length) for performance