Nevermind it was just a bug in OtpInputStream.cs which is one of the files in the otp.net port of jinterface. Is there any interest in having an updated otp.net? I found it on sourceforge.