void JOutputStream::write(JArray<jbyte>& buffer, int offset, int count) { CallVoidMethod("write", "([BII)V", buffer.GetJObject(), offset, count); }
int JInputStream::read(JArray<jbyte>& buffer, jint byteOffset, jint byteCount) { return CallIntMethod("read", "([BII)I", buffer.GetJObject(), byteOffset, byteCount); }
void JOutputStream::write(JArray<jbyte>& buffer) { CallVoidMethod("write", "([B)V", buffer.GetJObject()); }
int JInputStream::read(JArray<jbyte>& buffer) { return CallIntMethod("read", "([B)I", buffer.GetJObject()); }