ML Community Day is November 9! Join us for updates from TensorFlow, JAX, and more Learn more

TaskJniUtils.FdAndOptionsHandleProvider

public static interface TaskJniUtils.FdAndOptionsHandleProvider

Syntax sugar to get nativeHandle from file descriptor and options.

Public Methods

abstract long
createHandle(int fileDescriptor, long fileDescriptorLength, long fileDescriptorOffset, T options)

Public Methods

public abstract long createHandle (int fileDescriptor, long fileDescriptorLength, long fileDescriptorOffset, T options)

Parameters
fileDescriptor
fileDescriptorLength
fileDescriptorOffset
options