Uploaded image for project: 'Ruby Driver'
  1. Ruby Driver
  2. RUBY-2070

Translate directly between Ruby strings and Crypt::Binary instances

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.12.0.rc0
    • Component/s: None
    • Labels:
      None

      Description

      Currently the conversion between Ruby strings and Crypt::Binary objects involves using FFI to read raw bytes into an array of Ruby one-character byte strings which are then joined into the final Ruby string. Instead it is possible to directly read and write complete byte strings using put_bytes and read_string FFI methods.

        Attachments

          Activity

            People

            Assignee:
            oleg.pudeyev Oleg Pudeyev
            Reporter:
            oleg.pudeyev Oleg Pudeyev
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: