| 268 | void appendByte(unsigned value) { BVASSERT(bitind()==0); setByte(grow(1),value); } |
| 269 | void appendUInt16(unsigned value) { BVASSERT(bitind()==0); setUInt16(grow(2),value); } |
| 270 | void appendUInt32(unsigned value) { BVASSERT(bitind()==0); setUInt32(grow(4),value); } |
| 271 | ByteType getByte(size_t ind) const { BVASSERT(ind < size()); return mStart[ind]; } |
| 272 | ByteType getNibble(size_t ind,int hi) const { |
| 273 | ByteType val = getByte(ind); return hi ? (val>>4) : val & 0xf; |