(State s)
| 212 | } |
| 213 | |
| 214 | static int jumpToByteBoundary(State s) { |
| 215 | final int padding = (BITNESS - s.bitOffset) & 7; |
| 216 | if (padding != 0) { |
| 217 | final int paddingBits = readFewBits(s, padding); |
| 218 | if (paddingBits != 0) { |
| 219 | return Utils.makeError(s, BROTLI_ERROR_CORRUPTED_PADDING_BITS); |
| 220 | } |
| 221 | } |
| 222 | return BROTLI_OK; |
| 223 | } |
| 224 | |
| 225 | static int halfAvailable(State s) { |
| 226 | int limit = HALVES_CAPACITY; |
no test coverage detected