Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

32 bit integer for milliseconds? #63

Open
lexfrl opened this issue Apr 2, 2022 · 2 comments
Open

32 bit integer for milliseconds? #63

lexfrl opened this issue Apr 2, 2022 · 2 comments

Comments

@lexfrl
Copy link

lexfrl commented Apr 2, 2022

From the guide:

A Bendy Butt Message is a Bencoded list containing a collection with the following five elements, in this specific order.

32-bit integer representing the time the message was created. Number of milliseconds since 1 January 1970 00:00 UTC, also known as UNIX epoch.

Is it correct? It's possible to hold only up to ~1.5 mouthes of milliseconds in a 32-bit integer number..

@arj03
Copy link
Member

arj03 commented Apr 4, 2022

That is an error. The bendy butt spec specifies this as a bencode integer.

@arj03
Copy link
Member

arj03 commented Apr 4, 2022

PR welcome :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants