Replies: 1 comment
-
Attributes are distinct because reading and writing are distinct. Taking a Was there a specific thing you were trying to do that caused this confusion? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I see
#[binread]
,#[binrw]
and#[binwrite]
attribute macros all link tobinrw::docs::attribute
table, which containsr/w
column.Also I see that
derive(BinRead)
things use#[br]
andderive(BinWrite)
things use#[bw]
in examples.Why they are distinct attributes? Shall this connection from distinct attribute or derive macros to derive helpers and to "r/w" column in the table be documented explicitly?
Beta Was this translation helpful? Give feedback.
All reactions