Skip to content
This repository was archived by the owner on Apr 27, 2023. It is now read-only.
This repository was archived by the owner on Apr 27, 2023. It is now read-only.

convertion byte array #12

Description

@alexx600

thank you for making the library available.

I would like to draw your attention to a few things that I can help others

In that LUA library using 2B 4B or 8B is not possible, arguments must be BB BBBB or BBBBBBBB.

When i was trying to convert 4 byte to float it is necessary to pass it to function one by one.

roll={140, 43, 88, 58}
b=struct.pack('BBBB',roll[1],roll[2],roll[3],roll[4])

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions