public static Vector4 ToValue(byte[] table, int index) { UnionVector4 bt = new UnionVector4(); bt.SetBytes(table, index); return(bt.value); }
public static byte[] ToBytes(Vector4 val) { UnionVector4 bt = new UnionVector4(); bt.value = val; return(bt.bytes); }
public static byte[] ToBytes(Vector4 val) { return(UnionVector4.ToBytes(val)); }
public static int ToValue(out Vector4 ret, byte[] bytes, int index) { ret = UnionVector4.ToValue(bytes, index); return(UnionVector4.Size); }