Skip to content

Commit

Permalink
Merge branch 'nightly' into int-from-and-to-bytes
Browse files Browse the repository at this point in the history
Signed-off-by: Manuel Saelices <[email protected]>
  • Loading branch information
msaelices committed Dec 22, 2024
2 parents 5748fd0 + f4b34fc commit a6858b8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
5 changes: 0 additions & 5 deletions docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,6 @@ what we publish.

### ✨ Highlights

- New `Int.from_bytes()`, `Int.as_bytes()`, `SIMD.from_bytes()` and `SIMD.as_bytes()`
functions to convert a list of bytes to an integer and vice versa, accepting the
endianess as an argument. Similar to Python `int.from_bytes()` and `int.to_bytes()`
functions.

### Language changes

- New `Int.from_bytes()`, `Int.as_bytes()`, `SIMD.from_bytes()` and `SIMD.as_bytes()`
Expand Down
5 changes: 1 addition & 4 deletions stdlib/src/builtin/int.mojo
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,7 @@ These are Mojo built-ins, so you don't need to import them.
"""

from collections import InlineArray, KeyElement

from bit import byte_swap
from builtin.io import _snprintf
from collections.string import (
from collections.string.string import (
_calc_initial_buffer_size_int32,
_calc_initial_buffer_size_int64,
)
Expand Down

0 comments on commit a6858b8

Please sign in to comment.