Fix CharBuffer

CharBuffer.ReadLine() is not terminated
Support PCL