3!:1 is more powerful than this. Converts any noun to a binary (string) representation. 3!:2 unpacks.
----- Original Message ----- From: Jon Hough <[email protected]> To: "[email protected]" <[email protected]> Cc: Sent: Tuesday, January 20, 2015 10:42 AM Subject: [Jprogramming] J Equivalent of Python Struct.Pack/Unpack 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
