Platforms to show: All Mac Windows Linux Cross-Platform

Back to NSCoderMBS class.

NSCoderMBS.decodeTypedStream(Data as MemoryBlock) as variant

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Cocoa MBS MacBase Plugin 23.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Decodes an old and deprecated typedstream data block.
Example

Dim f As FolderItem = SpecialFolder.Desktop.Child("test.bin")
Dim b As BinaryStream = BinaryStream.Open(f)
Dim s As String = b.Read(B.Length)
Dim v As Variant = NSCoderMBS.decodeTypedStream(s)

Break // check in debugger

The items on this page are in the following plugins: MBS MacBase Plugin.


The biggest plugin in space...