private void emit_padding (BinaryWriter w) { Stream ms = w.BaseStream; if ((ms.Position % 4) != 0) w.Write ((short)0); }