How to get float* from juce::dsp::AudioBlock<float>?

I need to use juce to integrate an old code that uses float* buffers

void processBlock (juce::AudioSampleBuffer& buffer, juce::MidiBuffer&) override
        juce::dsp::AudioBlock<float> block (buffer);
        //How do I access AudioBlock's internal float buffer here?

However, AudioBlock has no methods for getting the internal buffer.

How do I do that?

How about getChannelPointer?