Class NSInputStream

All Implemented Interfaces:
NSObjectProtocol, ObjCProtocol
Direct Known Subclasses:
CFHTTPStream

public class NSInputStream
extends NSStream
  • Constructor Details

    • NSInputStream

      public NSInputStream()
    • NSInputStream

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

      protected NSInputStream​(NSObject.SkipInit skipInit)
    • NSInputStream

      public NSInputStream​(NSData data)
    • NSInputStream

      public NSInputStream​(NSURL url)
    • NSInputStream

      public NSInputStream​(String path)
  • Method Details

    • hasBytesAvailable

      public boolean hasBytesAvailable()
    • read

      public long read​(BytePtr buffer, long len)
    • read

      public long read​(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)
    • init

      protected long init​(String path)