Hello! WriteInt8Array accepts pointer and len, so I don't see why you have to pass char by char.
Regards, -- Ilya Kasnacheev 2018-08-09 1:32 GMT+03:00 F.D. <[email protected]>: > Ok, but I think it's the same like WriteArray. > > For the moment I solved in a different way,using a encode/decode functions. > > Thanks, > > On Wed, Aug 8, 2018 at 11:06 AM Ilya Kasnacheev <[email protected]> > wrote: > >> Hello! >> >> How about WriteInt8Array >> <https://ignite.apache.org/releases/latest/cppdoc/classignite_1_1binary_1_1BinaryWriter.html#ada15c20651157acfb8baeb5fe8df1b5d> >> ()? >> >> Regards, >> >> -- >> Ilya Kasnacheev >> >> 2018-08-08 11:19 GMT+03:00 F.D. <[email protected]>: >> >>> Hello Igniters, >>> >>> My distributed closures work perfectly when the inputs are strings, but >>> when I try to pass a buffer of bytes I got an error. >>> >>> The buffer of bytes arrives to me in a std::string but when I to >>> use BinaryWriter::WriteString the string is truncated (ok, it was >>> predictable). The question is there a method of BinaryWriter/BinaryReader >>> to handles with buffer of char? (I found WriteArray, but I've to pass char >>> by char). >>> >>> Thanks, >>> F.D. >>> >> >>
