public void Populate(ShockwaveReader input, long scriptChunkOffset) { input.Position = scriptChunkOffset + _codeOffset; input.Read(Body.Code, 0, Body.Code.Length); input.PopulateVList(scriptChunkOffset + _argumentsOffset, Arguments, input.ReadBigEndian <short>); input.PopulateVList(scriptChunkOffset + _localsOffset, Locals, input.ReadBigEndian <short>); input.PopulateVList(scriptChunkOffset + _lineOffset, new List <byte>(), input.ReadByte); }