CodedInputStream: add method isAtBufferEnd.