Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.0M15
    • Component/s: None
    • Labels:
      None
    • Patch Info:
      Patch Available

      Description

      Implement those methods:
      1 - ImageOutputStreamImpl.writeBit(int bit)
      2 - ImageOutputStreamImpl.writeBits(writeBits(long bits, int numBits)
      3 - ImageOutputStreamImpl.flushBits()
      They are kind of related, so I put the implementations for those methods in one patch.

      Spec - http://download.oracle.com/docs/cd/E17476_01/javase/1.5.0/docs/api/javax/imageio/stream/ImageOutputStreamImpl.html#writeBit(int)

      I have also modified the existing test case for a bit in order to perform the test. The code of ImageOutputStreamImplTest.BasicImageOutputStreamImpl.read() is copied from ImageInputStreamImplTest.BasicImageInputStreamImpl.read().

        Attachments

          Activity

            People

            • Assignee:
              tellison Tim Ellison
              Reporter:
              yanglang Lang Yang
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: