Skip to content

byte_size does not work on binaries that started via "" elixir string syntax #384

Description

@vans163
#Good
Console.log byte_size(<<1,2,3>>)
3

#Bad
Console.log byte_size("\x01\x02\x03")
undefined

#Bad
Console.log byte_size("abc")
undefined

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions