Grabbing PBuffer contents

Hello,

I’m very new to LWJGL and I’m looking for a hint or a code snippet that shows how to render into a pbuffer and grab it (to a heap array).

Thanks to all.

Mik