summaryrefslogtreecommitdiff
path: root/demos/java/gsjava/src/com/artifex/gsjava/callbacks/IStdInFunction.java
blob: c6d97e940b7a2681044fdf26460a8e45babff752 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package com.artifex.gsjava.callbacks;

@FunctionalInterface
public interface IStdInFunction {

	/**
	 *
	 *
	 * @param callerHandle The caller handle.
	 * @param buf A string.
	 * @param len The number of bytes to read.
	 * @return The number of bytes read, must be <code>len</code>/
	 */
	public int onStdIn(long callerHandle, byte[] buf, int len);
}