public void Write(ExtendBinaryWriter extendBinaryWriter) { // Write int32 using big Endian. extendBinaryWriter.WriteUsingBigEndian(fileCode); extendBinaryWriter.WriteUsingBigEndian(unUsed1); extendBinaryWriter.WriteUsingBigEndian(unUsed2); extendBinaryWriter.WriteUsingBigEndian(unUsed3); extendBinaryWriter.WriteUsingBigEndian(unUsed4); extendBinaryWriter.WriteUsingBigEndian(unUsed5); extendBinaryWriter.WriteUsingBigEndian(fileLength); // Write int32 using little Endian. extendBinaryWriter.Write(fileVerion); extendBinaryWriter.Write(shapeType); boundingBox.Write(extendBinaryWriter); }
public void Write(ExtendBinaryWriter extendBinaryWriter) { extendBinaryWriter.WriteUsingBigEndian(recordNumber); extendBinaryWriter.WriteUsingBigEndian(recordLength); extendBinaryWriter.Write(recordContents); }