Skip to content

Wrong ByteArray representation for BitInteger(0) #280

@TemMax

Description

@TemMax

Describe the bug
java.math.BigInteger#toByteArray returns ByteArray(0) (size == 1) when bignum.BigInteger#toByteArray returns an empty ByteArray.

Platform

  • JVM

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