Skip to content
This repository was archived by the owner on Feb 12, 2024. It is now read-only.
This repository was archived by the owner on Feb 12, 2024. It is now read-only.

Data Reading is not correct #1287

Closed
Closed
@moda20

Description

@moda20
  • Version: 0.27.7
  • Platform: Zen ArchLinux
  • Subsystem:

Type: Bug

Severity: High

Description:

Data returned by Ipfs.object.data() is not the same as the one got from the Read-Only gateway

Steps to reproduce the error:

run jsipfs daemon
create a node from the existing ports localIpfs
call localIpfs.files.add(Buffer.from("TEXT")) returns Hash
call localIpfs.object.data(Hash)returns something like []*^TEXT ( is the same text but with ascii characters before it and maybe somewhere in the middle)
It is bad if i am transferring base64 image data.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions