This utility method searches for "--pull (up|down|off)", "--l (up|down|off)", "--up", or "--down" in the command
arguments array and returns a PinPullResistance instance based on the option
value provided.

Before using the Pi4J library, you need to ensure that the Java VM in configured with access to
the following system libraries:
pi4j
wiringPi
This library depends on the wiringPi native system library. (developed by
Gordon Henderson @ http://wiringpi.com/)

This class implements a dynamic expanding byte buffer to
accommodate new data received from the serial port
Adapted from sources at:
http://ostermiller.org/utils/src/CircularByteBuffer.java.html
Stephen Ostermiller http://ostermiller.org/contact.pl?regarding=Java+Utilities