JStruct icon indicating copy to clipboard operation
JStruct copied to clipboard

Add the possibility to define the size of the type

Open vjorge opened this issue 3 years ago • 1 comments

Hi is it possible to implement your code to support the following format ?

mystruct = struct.Struct('<' '100s'
'8s'
'5c' )

In which we can define the type length before the type. Many thanks

vjorge avatar Dec 29 '21 17:12 vjorge

@vjorge If you're still in need of this functionality I have implemented it in my fork: https://github.com/theshoeshiner/JStruct

theshoeshiner avatar May 31 '22 19:05 theshoeshiner