Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-8297

Remove three argument constructor from the V8 version of BinData

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.4.0-rc1
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL

      The V8 version of BinData accepts BinData( length, type, string ), which is not a feature of the SpiderMonkey version of BinData. This variation stores 'length' bytes of binary data copied directly from 'string', even if 'string' holds fewer than 'length' bytes of data, with the additional bytes copied from the memory locations that follow 'string'.

      This three-argument variation should be removed to match the old feature set and the documentation.

            Assignee:
            tad Tad Marshall
            Reporter:
            tad Tad Marshall
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: