We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9514876 commit 3448696Copy full SHA for 3448696
cocos2d-ui/CCBReader/CCBReader.m
@@ -131,23 +131,6 @@ static inline BOOL readBool(CCBReader *self)
131
return str;
132
}
133
134
-static inline BOOL getBit(CCBReader *self)
135
-{
136
- BOOL bit;
137
- unsigned char byte = *(self->bytes+self->currentByte);
138
- if (byte & (1 << self->currentBit)) bit = YES;
139
- else bit = NO;
140
-
141
- self->currentBit++;
142
- if (self->currentBit >= 8)
143
- {
144
- self->currentBit = 0;
145
- self->currentByte++;
146
- }
147
148
- return bit;
149
-}
150
151
static inline void alignBits(CCBReader *self)
152
{
153
if (self->currentBit)
0 commit comments