equal
deleted
inserted
replaced
171 |
171 |
172 static uint SlGetGammaLength(uint i) { |
172 static uint SlGetGammaLength(uint i) { |
173 return (i>=0x80) ? 2 : 1; |
173 return (i>=0x80) ? 2 : 1; |
174 } |
174 } |
175 |
175 |
176 int inline SlReadSparseIndex() |
176 inline int SlReadSparseIndex() |
177 { |
177 { |
178 return SlReadSimpleGamma(); |
178 return SlReadSimpleGamma(); |
179 } |
179 } |
180 |
180 |
181 void inline SlWriteSparseIndex(uint index) |
181 inline void SlWriteSparseIndex(uint index) |
182 { |
182 { |
183 SlWriteSimpleGamma(index); |
183 SlWriteSimpleGamma(index); |
184 } |
184 } |
185 |
185 |
186 int inline SlReadArrayLength() |
186 inline int SlReadArrayLength() |
187 { |
187 { |
188 return SlReadSimpleGamma(); |
188 return SlReadSimpleGamma(); |
189 } |
189 } |
190 |
190 |
191 void inline SlWriteArrayLength(uint length) |
191 inline void SlWriteArrayLength(uint length) |
192 { |
192 { |
193 SlWriteSimpleGamma(length); |
193 SlWriteSimpleGamma(length); |
194 } |
194 } |
195 |
195 |
196 void SlSetArrayIndex(uint index) |
196 void SlSetArrayIndex(uint index) |