Skip to content
This repository was archived by the owner on Aug 5, 2021. It is now read-only.
This repository was archived by the owner on Aug 5, 2021. It is now read-only.

Java byte array has first 16 bytes incorrect when transformed with numpy.frombuffer in Python #191

Description

@ag-tcm

When I pass a byte array (byte[]) as an argument to a Python function from the Java side and turn it into a numpy array, the result from np.frombuffer will have the first 16 bytes incorrect (and the other bytes are correct). But, this issue only occurs when the length of the array exceeds 392 byte.

See this SO question for more details.

Activity

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions