Search Unity

DataStreams Usage examples

Discussion in 'Entity Component System' started by sabriboughanmi01, Oct 11, 2019.

  1. sabriboughanmi01

    sabriboughanmi01

    Joined:
    Oct 11, 2019
    Posts:
    6
    hi Everyone,

    im building systems to transfer Data between Server <---> Clients.
    im looking for the most efficient way to write Struct or Struct[] to a DataStreamWriter and read them from DataStreamReader.

    Also i have a very basic knowledge about Pointers in C# and i found no documentation about Unity UnsafeUtilities.

    so it will be awesome if anyone points me to any good example or documentation.

    Thank you!
     
    Opeth001 likes this.