public static int Write(this VFile source, bool value) => source.Write((byte *)&value, sizeof(bool));
public static int Write(this VFile source, ushort value) => source.Write((byte *)&value, sizeof(ushort));
public static int Write(this VFile source, ulong value) => source.Write((byte *)&value, sizeof(ulong));
public static int Write(this VFile source, float value) => source.Write((byte *)&value, sizeof(float));
public static int WriteASCII(this VFile source, string value, int length) => source.Write(Encoding.ASCII.GetBytes(value), value.Length);