public static T FromReader(BinaryReaderEx br, uint pos) { br.Jump(pos); T t = new T(); t.Read(br); return(t); }
public static List <T> FromReader(BinaryReaderEx br, uint pos, uint count) { List <T> list = new List <T>(); br.Jump(pos); for (int i = 0; i < count; i++) { T t = new T(); t.Read(br); list.Add(t); } return(list); }