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

BitString.createFromBytes reverses order of the bits in each byte

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.22.0
    • Component/s: core
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: