Note also that J code which reads "packed structures" which were
written in another language tends to look very "un-J-like". The data
structures have a strong influence on the structure of the code. And
sometimes you just have to roll with that.

Fortunately, a lot of what is written in such structures is largely
irrelevant (allowing you to mostly ignore a lot of the problem cases).

Thanks,

-- 
Raul


On Tue, Jan 20, 2015 at 10:45 AM, Marc Simpson <[email protected]> wrote:
> http://www.jsoftware.com/help/dictionary/dx003.htm
>
> On Tue, Jan 20, 2015 at 3:42 PM, Jon Hough <[email protected]> wrote:
>> Python has a useful module called struct
>> https://docs.python.org/2/library/struct.html
>> which is useful for converting strings to packed binary data.
>> e.g.
>> data = struct.pack('B', someHexString)
>>
>> Does J have an equivalent or similar function / verb?
>> I spent a bit of time looking, but couldn't find anything.
>>
>> Example usage would be sending data over a network.
>>
>>
>>
>> ----------------------------------------------------------------------
>> For information about J forums see http://www.jsoftware.com/forums.htm
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to