>> The class is no longer needed, as Xojo can do the same with >> BinaryStream+Memoryblock or simply with Join function. > > So, how do you do the equivalent of “BinaryStream.AppendBoolean True”, except > in memory only (so BinaryStream is useless), with a MemoryBlock?
Well, like this: dim m as new MemoryBlock(0) dim b as new BinaryStream(m) b.Write "Hello" b.Write "World" b.Position = 0 dim s as string = b.Read(10, encodings.UTF8) MsgBox s Will put the two strings together. Greetings Christian -- Read our blog about news on our plugins: http://www.mbsplugins.de/ _______________________________________________ Mbsplugins_monkeybreadsoftware.info mailing list [email protected] https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info
