loadDirectNT

inline fun loadDirectNT(errorHandler: (Throwable) -> ByteBuffer = { throw it }): ByteBuffer

load the given resource synchronously into a new direct byte buffer, with null termination. you may then perform any operations on the result.

In case of failure, the errorHandler will be called with the exception.

Since

1.1.6

See also