Class NSInputStream

    • Constructor Detail

      • NSInputStream

        public NSInputStream()
      • NSInputStream

        protected NSInputStream​(NSObject.Handle h,
                                long handle)
      • NSInputStream

        public NSInputStream​(NSData data)
      • NSInputStream

        public NSInputStream​(NSURL url)
        Since:
        Available in iOS 4.0 and later.
      • NSInputStream

        public NSInputStream​(java.lang.String path)
    • Method Detail

      • hasBytesAvailable

        public boolean hasBytesAvailable()
      • read

        public long read​(org.robovm.rt.bro.ptr.BytePtr buffer,
                         long len)
      • read

        public long read​(java.nio.ByteBuffer bytes)
      • read

        public long read​(byte[] bytes)
      • read

        public long read​(byte[] bytes,
                         int offset,
                         int length)
      • read

        protected long read​(long buffer,
                            long len)
      • init

        protected long init​(NSData data)
      • init

        protected long init​(NSURL url)
        Since:
        Available in iOS 4.0 and later.
      • init

        protected long init​(java.lang.String path)