public static InvVect FromStream(Stream s) { InvVect x = new InvVect(); x.Read(s); return(x); }
public void Read(Stream s) { inventory = new InvVect[VarInt.FromStream(s)]; for (int i = 0; i < inventory.Length; i++) { inventory[i] = InvVect.FromStream(s); } }