Fixed the wrong sizes for char arrays.

This fix resolves issue #69 by using the correct size (2 bytes) for char elements in arrays in ByteBuffer.scala.