java - When does JNI's GetByteArrayElements return a null terminated string? -


i intend use array of bytes c string.

i interested in both zero-length , non-zero length conditions.

it returns byte elements of array. if happens null-terminated string because of application put array, have null-terminated string. neither java nor jni cares null termination.


Comments

Popular posts from this blog

1111. appearing after print sequence - php -

java - WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/board/] in DispatcherServlet with name 'appServlet' -

Ruby on Rails, ActiveRecord, Postgres, UTF-8 and ASCII-8BIT encodings -