             bar: L: [
               {S: 'string'},
               {N: '2'},
-              {B: buffer}
+              {B: encode(buffer)}
               {BOOL: true}
             ]
       )

      wire = JSON.stringify(
        Item:
          foo:
            'BS': [bar, baz, quux]
      )
      output = Item:
        foo: set

helpers = require('../helpers')
AWS = helpers.AWS
Buffer = AWS.util.Buffer
encode = AWS.util.base64.encode

docClient = null

