Skip to content

Commit

Permalink
support mixed endian
Browse files Browse the repository at this point in the history
Signed-off-by: Takahiro YAMASHITA <[email protected]>
  • Loading branch information
nokute78 committed Aug 19, 2020
1 parent 0e003c1 commit 96d8100
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,9 @@ The package supports struct tags.
|Tag|Description|
|---|-----------|
|`` `bit:"skip"` ``|Ignore the field. Offset is updated by the size of the field. It is useful for reserved field.|
|`` `bit:"-"` ``|Ignore the field. Offset is not updated.|
|`` `bit:"-"` `` |Ignore the field. Offset is not updated.|
|`` `bit:"BE"` ``|Decode the field as big endian. It is useful for mixed endian data.|
|`` `bit:"LE"` ``|Decode the field as little endian. It is useful for mixed endian data.|

## Tool
* [readbit](cmd/readbit/README.md)
Expand Down

0 comments on commit 96d8100

Please sign in to comment.