Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-3714

BitString.createFromBytes reverses order of the bits in each byte

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • 1.22.0
    • core
    • None

    Description

      BitString.createFromBytes reverses the order of the bits in each byte. (Passing in 'a' I expect 01100001 but get 10000110.)

      BitString.createFromHexString works as expected, and appears to be the one everyone is using. The "fix" might be to just delete the broken method.

      Attachments

        Activity

          People

            julianhyde Julian Hyde
            apilloud Andrew Pilloud
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: