Skip to content

Conversation

zh3305
Copy link

@zh3305 zh3305 commented Feb 17, 2023

using

   [FieldOrder(0)]
    [SerializeAs(SerializedType.TerminatedString, StringTerminator = (char)0x20, ConverterType = typeof(HexStringToIntConvert))]
    public int DataAmount { get; set; }

Refs: #199

using
```
   [FieldOrder(0)]
    [SerializeAs(SerializedType.TerminatedString, StringTerminator = (char)0x20, ConverterType = typeof(HexStringToIntConvert))]
    public int DataAmount { get; set; }
```

Refs: jefffhaynes#199
@zh3305
Copy link
Author

zh3305 commented Feb 17, 2023

This is a simple implementation. But I think there should be a better way to implement it,

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