Post AiSPBe03JfTSSfJWZE by ZacBelado@hachyderm.io
 (DIR) More posts by ZacBelado@hachyderm.io
 (DIR) Post #AiSBSLwEK7Sq0bbCuO by aral@mastodon.ar.al
       2024-05-31T14:54:59Z
       
       0 likes, 0 repeats
       
       I do love that buffer.subarray() returns a – checks notes – Buffer instance, not an array, in Node.js. πŸ‘€ #namingThingsIsHard #NodeJS #Buffer #Array #dev
       
 (DIR) Post #AiSBy3jnWngMpMu2To by JackTheCat@mastodon.scot
       2024-05-31T15:00:43Z
       
       0 likes, 0 repeats
       
       @aral Not a clue but well done you. πŸ‘πŸ‘πŸ‘
       
 (DIR) Post #AiSMb1Usn7fiiK91Sy by ZacBelado@hachyderm.io
       2024-05-31T15:10:28Z
       
       0 likes, 0 repeats
       
       @dave @aral This was my thought. You would expect a buffer in return so it seems just poorly worded.
       
 (DIR) Post #AiSMb2XktvZ1xWUpaC by aral@mastodon.ar.al
       2024-05-31T16:59:27Z
       
       0 likes, 0 repeats
       
       @ZacBelado @dave Well, hindsight is 20/20 and all that… goodness knows what was going on when it was initially implemented :)
       
 (DIR) Post #AiSPBe03JfTSSfJWZE by ZacBelado@hachyderm.io
       2024-05-31T17:28:46Z
       
       0 likes, 0 repeats
       
       @aral @dave I wonder if there is somewhere you can look up the history of it? Maybe it did return an array and some people were wildly irate :-)
       
 (DIR) Post #AiTYot0EEc1CbB2QTI by aral@mastodon.ar.al
       2024-06-01T06:51:30Z
       
       0 likes, 0 repeats
       
       @ZacBelado @dave C’est possible :)