public boolean getInputStream_outputStream( final com.apple.jobjc.Pointer<com.apple.jobjc.foundation.NSInputStream> inputStream, final com.apple.jobjc.Pointer<com.apple.jobjc.foundation.NSOutputStream> outputStream) { final com.apple.jobjc.Invoke.MsgSend getInputStream_outputStream_IMetInst = get_getInputStream_outputStream_IMetInst(); final com.apple.jobjc.NativeArgumentBuffer nativeBuffer = getRuntime().getThreadLocalState(); getInputStream_outputStream_IMetInst.init(nativeBuffer, this); com.apple.jobjc.Coder.PointerCoder.INST.push(nativeBuffer, inputStream); com.apple.jobjc.Coder.PointerCoder.INST.push(nativeBuffer, outputStream); getInputStream_outputStream_IMetInst.invoke(nativeBuffer); final boolean returnValue = (boolean) (com.apple.jobjc.PrimitiveCoder.BoolCoder.INST.popBoolean(nativeBuffer)); return returnValue; }
public com.apple.jobjc.Pointer<java.lang.Byte> objCType() { final com.apple.jobjc.Invoke.MsgSend objCType_IMetInst = get_objCType_IMetInst(); final com.apple.jobjc.NativeArgumentBuffer nativeBuffer = getRuntime().getThreadLocalState(); objCType_IMetInst.init(nativeBuffer, this); objCType_IMetInst.invoke(nativeBuffer); final com.apple.jobjc.Pointer<java.lang.Byte> returnValue = (com.apple.jobjc.Pointer<java.lang.Byte>) (com.apple.jobjc.Coder.PointerCoder.INST.pop(nativeBuffer)); return returnValue; }
public <T extends com.apple.jobjc.ID> T dataWithBytesNoCopy_length( final com.apple.jobjc.Pointer<Void> bytes, final long length) { final com.apple.jobjc.Invoke.MsgSend dataWithBytesNoCopy_length_CMetInst = get_dataWithBytesNoCopy_length_CMetInst(); final com.apple.jobjc.NativeArgumentBuffer nativeBuffer = getRuntime().getThreadLocalState(); dataWithBytesNoCopy_length_CMetInst.init(nativeBuffer, this); com.apple.jobjc.Coder.PointerCoder.INST.push(nativeBuffer, bytes); com.apple.jobjc.MixedPrimitiveCoder.UIntULongLongCoder.push(nativeBuffer, length); dataWithBytesNoCopy_length_CMetInst.invoke(nativeBuffer); final com.apple.jobjc.ID returnValue = (com.apple.jobjc.ID) (com.apple.jobjc.Coder.IDCoder.INST.pop(nativeBuffer)); return (T) returnValue; }
public <T extends com.apple.jobjc.ID> T dataWithContentsOfURL_options_error( final com.apple.jobjc.foundation.NSURL url, final long readOptionsMask, final com.apple.jobjc.Pointer<com.apple.jobjc.foundation.NSError> errorPtr) { final com.apple.jobjc.Invoke.MsgSend dataWithContentsOfURL_options_error_CMetInst = get_dataWithContentsOfURL_options_error_CMetInst(); final com.apple.jobjc.NativeArgumentBuffer nativeBuffer = getRuntime().getThreadLocalState(); dataWithContentsOfURL_options_error_CMetInst.init(nativeBuffer, this); com.apple.jobjc.Coder.IDCoder.INST.push(nativeBuffer, url); com.apple.jobjc.MixedPrimitiveCoder.UIntULongLongCoder.push(nativeBuffer, readOptionsMask); com.apple.jobjc.Coder.PointerCoder.INST.push(nativeBuffer, errorPtr); dataWithContentsOfURL_options_error_CMetInst.invoke(nativeBuffer); final com.apple.jobjc.ID returnValue = (com.apple.jobjc.ID) (com.apple.jobjc.Coder.IDCoder.INST.pop(nativeBuffer)); return (T) returnValue; }