Class NSOutputStream

All Implemented Interfaces:
NSObjectProtocol, ObjCProtocol

public class NSOutputStream
extends NSStream
  • Constructor Details

    • NSOutputStream

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

      protected NSOutputStream​(NSObject.SkipInit skipInit)
    • NSOutputStream

      public NSOutputStream()
    • NSOutputStream

      public NSOutputStream​(NSURL url, boolean shouldAppend)
    • NSOutputStream

      public NSOutputStream​(String path, boolean shouldAppend)
    • NSOutputStream

      public NSOutputStream​(byte[] bytes)
    • NSOutputStream

      public NSOutputStream​(ByteBuffer bytes)
  • Method Details

    • hasSpaceAvailable

      public boolean hasSpaceAvailable()
    • write

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

      public long write​(ByteBuffer bytes)
    • write

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

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

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

      protected long init()
      Overrides:
      init in class NSObject
    • init

      protected long init​(long buffer, long capacity)
    • init

      protected long init​(NSURL url, boolean shouldAppend)
    • init

      protected long init​(String path, boolean shouldAppend)