Fork me on GitHub
#clr
<
2023-01-15
>
Anders Eknert00:01:08

What would the ClojureCLR equivalent form of (Class/forName "[B") be? I want to match on a byte array in an extend-protocol construct.

dmiller02:01:01

user=> (Type/GetType "System.Byte[]")
System.Byte[]

👍 2
dmiller02:01:32

Start collecting all these for a FAQ?

💯 6
Anders Eknert06:01:24

That’s a good idea! I’ll can start compiling one from those I know. Hopefully others can contribute their tricks.

bobcalco21:01:55

Yes! I was going to ask we start doing this somewhere.