コード例 #1
0
        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);
        }
コード例 #2
0
 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);
 }
コード例 #3
0
 public void Write(ExtendBinaryWriter extendBinaryWriter)
 {
     extendBinaryWriter.WriteUsingBigEndian(recordNumber);
     extendBinaryWriter.WriteUsingBigEndian(recordLength);
     extendBinaryWriter.Write(recordContents);
 }