<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title>김형준 GIS 연구소 (for Developers): C-바이너리-파일-쓰기읽기에 달린 최근 댓글/트랙백 목록</title>
		<link>http://www.gisdeveloper.co.kr/</link>
		<description></description>
		<language>ko</language>
		<pubDate>Wed, 08 Feb 2012 19:54:01 +0900</pubDate>
		<generator>Textcube 1.7.7 : Con moto</generator>
		<image>
		<title>김형준 GIS 연구소 (for Developers): C-바이너리-파일-쓰기읽기에 달린 최근 댓글/트랙백 목록</title>
		<url>http://www.gisdeveloper.co.kr/attach/1/1185080577.gif</url>
		<link>http://www.gisdeveloper.co.kr/</link>
		<width>160</width>
		<height>120</height>
		<description></description>
		</image>
		<item>
			<title>etnalry님의 댓글</title>
			<link>http://www.gisdeveloper.co.kr/543#comment8083</link>
			<description>쓰는 경우는 대상의 타입에 따라 오버로딩 된 해당 함수를 찾을 수 있는 반면, 읽는 경우는 리턴 값으로 어떤 함수를 호출해야 되는지 알 수 없기 때문에 타입을 함수 이름에 명시적으로 나타냈을 것입니다.

이런식의 코드였다면 더 좋아하셨을까요? ^^;
writer.write(var.toBinary());
var = reader.read(Size.Int).toInt();</description>
			<author>(etnalry)</author>
			<guid>http://www.gisdeveloper.co.kr/543#comment8083</guid>
			<comments>http://www.gisdeveloper.co.kr/543#comment</comments>
			<pubDate>Wed, 13 Jan 2010 19:57:02 +0900</pubDate>
		</item>
		<item>
			<title>김형준님의 댓글</title>
			<link>http://www.gisdeveloper.co.kr/543#comment8084</link>
			<description>안녕하세요. 제가 개인적으로 좋아하는 코드는 읽기 쉬운 코드인지라.. 오히려 writeInt, writeBool, writeString 그리고 readInt, readBool, readString과 같은 코드를 더 좋아합니다. ^^</description>
			<author>(김형준)</author>
			<guid>http://www.gisdeveloper.co.kr/543#comment8084</guid>
			<comments>http://www.gisdeveloper.co.kr/543#comment</comments>
			<pubDate>Thu, 14 Jan 2010 14:15:00 +0900</pubDate>
		</item>
		<item>
			<title>sid님의 댓글</title>
			<link>http://www.gisdeveloper.co.kr/543#comment8186</link>
			<description>if (File.Exists(strFileName))
{
	FileStream fs = new FileStream(strFileName, FileMode.Open);
	BinaryReader br = new BinaryReader(fs);
	
	int nFileDataLen = (int)fs.Length / 16;
	
	try
	{
	    for (int i = 0; i &amp;lt; nFileDataLen; i++)
	    {
	        int idx = br.ReadInt32();
	        int x = br.ReadInt32();
	        int y = br.ReadInt32();
	    }
	
	}
	catch (EndOfStreamException)
	{
	}
	finally
	{
	    br.Close();
	    fs.Close();
	}
}

이런식도 좋아 보이네요 ^^</description>
			<author>(sid)</author>
			<guid>http://www.gisdeveloper.co.kr/543#comment8186</guid>
			<comments>http://www.gisdeveloper.co.kr/543#comment</comments>
			<pubDate>Mon, 15 Mar 2010 16:05:22 +0900</pubDate>
		</item>
		<item>
			<title>김형준(Dip2K)님의 댓글</title>
			<link>http://www.gisdeveloper.co.kr/543#comment8192</link>
			<description>가독성 면에서 다소 떨어지는 구석이 있어 저는 개인적으로 선호하지 않는 방식입니다.</description>
			<author>(김형준(Dip2K))</author>
			<guid>http://www.gisdeveloper.co.kr/543#comment8192</guid>
			<comments>http://www.gisdeveloper.co.kr/543#comment</comments>
			<pubDate>Wed, 17 Mar 2010 20:02:04 +0900</pubDate>
		</item>
	</channel>
</rss>

