Class CFWriteStream

  • All Implemented Interfaces:
    java.lang.AutoCloseable

    public class CFWriteStream
    extends CFType
    • Constructor Detail

      • CFWriteStream

        protected CFWriteStream()
    • Method Detail

      • create

        public static CFWriteStream create​(java.nio.ByteBuffer bytes)
      • write

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

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

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

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

        public void unscheduleFromRunLoop​(CFRunLoop runLoop,
                                          CFRunLoopMode runLoopMode)
      • getClassTypeID

        public static long getClassTypeID()
      • getError

        public CFError getError()
        Since:
        Available in iOS 2.0 and later.
      • openStream

        public boolean openStream()
      • closeStream

        public void closeStream()
      • canAcceptBytes

        public boolean canAcceptBytes()
      • scheduleInRunLoop

        public void scheduleInRunLoop​(CFRunLoop runLoop,
                                      java.lang.String runLoopMode)
      • unscheduleFromRunLoop

        public void unscheduleFromRunLoop​(CFRunLoop runLoop,
                                          java.lang.String runLoopMode)
      • setDispatchQueue

        public void setDispatchQueue​(DispatchQueue q)
        Since:
        Available in iOS 7.0 and later.
      • getDispatchQueue

        public DispatchQueue getDispatchQueue()
        Since:
        Available in iOS 7.0 and later.