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

Remove three argument constructor from the V8 version of BinData

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 2.4.0-rc1
    • None
    • None
    • None
    • Fully Compatible
    • ALL

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: