4 // standard C++ with new header file names and std:: namespace
8 class jnistreambuf : public std::streambuf
11 jnistreambuf(JNIEnv * env, jobject stream, int bufferSize = 1024);
12 virtual int overflow( int c = EOF);
13 virtual int underflow();
20 jmethodID readMID, writeMID;
21 jobject jstream, fullNioBuffer;