You're right! My fault! On Thu, Aug 9, 2018 at 2:37 PM Ilya Kasnacheev <ilya.kasnach...@gmail.com> wrote:
> 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. <free.devel...@gmail.com>: > >> 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 < >> ilya.kasnach...@gmail.com> 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. <free.devel...@gmail.com>: >>> >>>> 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. >>>> >>> >>> >