question: calculate the current buffer size . concode_field_sep Queue<ByteBuffer> chunks concode_elem_sep StompDecoder stompDecoder concode_elem_sep Integer expectedContentLength concode_elem_sep int bufferSizeLimit concode_field_sep StompDecoder getStompDecoder concode_elem_sep int getBufferSizeLimit concode_elem_sep Integer getExpectedContentLength concode_elem_sep ByteBuffer assembleChunksAndReset concode_elem_sep List<Message<byte[]>> decode concode_elem_sep void checkBufferLimits
target: int function ( ) { int loc0 = 0 ; for ( ByteBuffer loc1 : this . chunks ) { loc0 = loc0 + loc1 . remaining ( ) ; } return loc0 ; }