I'm having trouble with some source code of C#
to convert to PHP
,
C# code I get from the vendor:
var byteArrayContent = new ByteArrayContent(fileContents)
var content = await request.Content.ReadAsByteArrayAsync();
What is in PHP ...? can anyone give some suggestions?