Skip to content

java.nio.ByteBuffer putInt(), etc., should use byte order specified  #5

@slyubomirsky

Description

@slyubomirsky

The present specification for putInt() uses Java's default byte order (big endian) for turning an int into bytes but the Javadocs for java.nio.ByteBuffer state that while the byte order is big endian by default, it can be set to little endian using order(ByteOrder).

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