Skip to content

Conversation

@tahina-pro
Copy link
Member

This PR is a partial solution to #124 :

  • It fixes the deprecation warning raised by things like T t[<= n], now directing to use [:byte-size-single-element-array-at-most instead of the non-existing [:byte-size-at-most
  • It fixes the documentation wrt. the semantics of T [:byte-size-single-element-array-at-most n] : we validate the format of T and check that it fits within n bytes, and then we always consume exactly n bytes by advancing the position of the parser. So, this in effect allows one to encode an element T padded out to n bytes.
  • It turns the warning raised by T x[n] with sizeof(T) <> 1 into an error.

@tahina-pro tahina-pro merged commit 36b7b46 into master Jan 22, 2024
@tahina-pro tahina-pro deleted the _taramana_3d_up_to branch October 25, 2024 21:34
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

Successfully merging this pull request may close these issues.

2 participants