Hardly, but even if it was, reading and adapting an existing open source library is often a good place to start