Size is passed unsigned
ericlaw1979 opened this issue · comments
Should this
var buffer = new char[BitConverter.ToInt32(lengthBytes, 0)];
be
var buffer = new char[BitConverter.ToUInt32(lengthBytes, 0)];
C# Chome Native Messaging Library
ericlaw1979 opened this issue · comments
Should this
var buffer = new char[BitConverter.ToInt32(lengthBytes, 0)];
be
var buffer = new char[BitConverter.ToUInt32(lengthBytes, 0)];