Quadrature Encoder, Due library

Hello all,

I am checking the Arduino Due.

A read on the forum that a couple of you using quadrature encoder inputs.

Before I start exploring and implement my application and not reinventing the wheel,
I am curious if there is a ready to go library.