Skip to content

binary data isn't preserved correctly #5

Open

Description

@max-mapper

https://gist.github.com/maxogden/f8847339cbedd8314211/c9eb8dfc08198463d7ef2e81847843e24d20e85e

basically if you do db.put('hello', new Int8Array(5), { valueEncoding: 'binary' }) in the browser and replicate it to the server, it comes back as [object Object]

Activity

  1. juliangruber commented on Aug 4, 2013

    @juliangruber

    just had the same bug, currently you have to pass { valueEncoding: 'binary' } to the levelup constructor on the server

  2. juliangruber commented on Aug 4, 2013

    @juliangruber
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions