# SdFat Version 2

**URL:** <https://community.sparkfun.com/t/sdfat-version-2/18936>\
**Category:** Arduino\
**Created:** [January 15, 2011, 3:46pm UTC](https://community.sparkfun.com/t/sdfat-version-2/18936 "2011-01-15T15:46:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![fat16lib](https://avatars.discourse-cdn.com/v4/letter/f/9e8a1a/32.png) [@fat16lib](https://community.sparkfun.com/u/fat16lib)\
**Post date:** [January 15, 2011, 3:46pm UTC](https://community.sparkfun.com/t/sdfat-version-2/18936/1 "2011-01-15T15:46:14Z")

</div>

I am developing a new version of the Arduino SdFat library for reading and writing SD cards.

A demo version is available here [http://code.google.com/p/beta-lib/downloads/list](http://code.google.com/p/beta-lib/downloads/list).

I am in the process of finalizing features for V2 and would appreciate any feedback.

SdFat V2 has many new features.

Path names and a current working directory have been added.

The new class, SdFat, simplifies initialization and implements the

current working directory.

SdFat implements many C++ iostream features. New classes include:

ofstream: Stream class to write to files.

ifstream: Stream class to read from files.

fstream: Stream class to both read and write from/to files.

ibufstream: Stream class to parse char strings.

obufstream: Stream class to format char strings.

ArduinoOutStream: Steam to write to Serial and other “Print” devices.

ArduinoInStream: Stream to read from Serial and other “Stream” devices.
