Skip to content

User specified ByteOrder ignored in method Memory::wrap(byte[], int, int, ByteOrder) #195

@leerho

Description

@leerho

The user specified ByteOrder was ignored and overwritten by ByteOrder.nativeOrder().

Although ByteOrder is irrelevant for byte array operations, this method sets the byte order for subsequent method calls. If the user specified Big Endian order in this method and then followed it with getLong(..), for example, the returned ByteOrder would be Little Endian.

This is fixed in version 3.0.0.

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