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 binaryWriter) { binaryWriter.Write(xMin); binaryWriter.Write(yMin); binaryWriter.Write(xMax); binaryWriter.Write(yMax); binaryWriter.Write(zMin); binaryWriter.Write(zMax); binaryWriter.Write(mMin); binaryWriter.Write(mMax); }
public void Write(ExtendBinaryWriter extendBinaryWriter) { extendBinaryWriter.WriteUsingBigEndian(recordNumber); extendBinaryWriter.WriteUsingBigEndian(recordLength); extendBinaryWriter.Write(recordContents); }