Adds getBufferLength().