예제 #1
0
파일: JavaIO.cpp 프로젝트: fashao/simpleJNI
void JOutputStream::write(JArray<jbyte>& buffer, int offset, int count) {
	CallVoidMethod("write", "([BII)V", buffer.GetJObject(), offset, count);
}
예제 #2
0
파일: JavaIO.cpp 프로젝트: fashao/simpleJNI
int JInputStream::read(JArray<jbyte>& buffer, jint byteOffset, jint byteCount) {
	return CallIntMethod("read", "([BII)I", buffer.GetJObject(), byteOffset, byteCount);
}
예제 #3
0
파일: JavaIO.cpp 프로젝트: fashao/simpleJNI
void JOutputStream::write(JArray<jbyte>& buffer) {
	CallVoidMethod("write", "([B)V", buffer.GetJObject());
}
예제 #4
0
파일: JavaIO.cpp 프로젝트: fashao/simpleJNI
int JInputStream::read(JArray<jbyte>& buffer) {
	return CallIntMethod("read", "([B)I", buffer.GetJObject());
}