CodyIT@programming.dev to Programmer Humor@programming.devEnglish · 15 days agoUnexpected Spanish Inquisitionprogramming.devimagemessage-square8fedilinkarrow-up1510arrow-down18
arrow-up1502arrow-down1imageUnexpected Spanish Inquisitionprogramming.devCodyIT@programming.dev to Programmer Humor@programming.devEnglish · 15 days agomessage-square8fedilink
minus-squareEntirelyUnlovable@lemmy.worldlinkfedilinkarrow-up12·edit-215 days agoThis looks like Go, so I think this would be a 2d array (or slice as Go calls it) of bytes, with starting length 0. Go has an optional 3rd parameter for capacity
minus-squaretetris11@feddit.uklinkfedilinkEnglisharrow-up3·15 days agoInteresting, thanks! I find it weird for it to be assigned to a buffer variable if no initial fixed size is given
This looks like Go, so I think this would be a 2d array (or slice as Go calls it) of bytes, with starting length 0. Go has an optional 3rd parameter for capacity
Interesting, thanks! I find it weird for it to be assigned to a buffer variable if no initial fixed size is given