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

Translate directly between Ruby strings and Crypt::Binary instances

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 2.12.0.rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible

      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.

            Assignee:
            oleg.pudeyev@mongodb.com Oleg Pudeyev (Inactive)
            Reporter:
            oleg.pudeyev@mongodb.com Oleg Pudeyev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: