You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// The API returns "NULL-terminated wide character string", on Windows I guess that means 16-bits characters.
208
+
constintKBufferSize=256;// Allocate a buffer big enough for 128 characters which is already more than the max 126 characters an USB device can provide.
209
+
byte[]buffer=newbyte[KBufferSize];// We use new and fixed rather than stackalloc as it makes it easier to convert to string later
0 commit comments