public static int FTell() { string pos = stream.BaseStream.Position.ToString(); int ret = int.Parse (pos); return ret; }