discardData static method

void discardData(
  1. BinaryReader reader,
  2. int size
)

Implementation

static void discardData(BinaryReader reader, int size)
{
    if (size % 10 != 0)
    {
        throw "The modulator list is invalid.";
    }

    reader.skip(size);
}