Added array encoding/decoding to C plankton.