Unable to build extension for array input to simple function

Dear expert,
I am trying to compile extension for below code
public void FeedData(byte data[], int data_len) {


When compiled, following error is thrown

[javac] An annotation processor threw an uncaught exception.
[javac] Consult the following stack trace for details.
[javac] java.lang.IllegalArgumentException: Cannot convert Java type ‘byte[]’ to Yail type

You want array of bites in data variable if yes then try this

public void FeedData(byte[] data, int data_len){}

instead of

public void FeedData(byte data[], int data_len){}