• About Me <3
  • DJ SkunkieButt (DJing Stuff)
  • DONATE
  • Pictures :3
  • Program Bugs
  • Programs
  • Archives
  • Categories
  • XIO

    2011 - 10.13

    CURRENTLY SUPPORTED OS:
    Windows
    FUTURE PLANS:
    Mac OS
    This is a library built in native C++ to read and write to multiple types of streams:
    ~FileStreamA/FileStreamW: Reads and writes to standard files on the computer (A = ANSI filenames, W = widestring (unicode) names)
    ~MultiFileStreamA/MultiFileStreamW: Reads and writes to multiple files that acts as one big stream (A = ANSI filenames, W = widestring (unicode) names)
    ~MemoryStream/MemoryStreamX: Reads and writes to a block of memory, MemoryStream is UINT based length/positioning, MemoryStreamX is ULONG based length/positioning
    ~DeviceStream: Reads and writes to logical drives and physical devices (NOTE: To initialize, the Device param can be 0 – 25 (physical devices 0 – 25) or ‘a’ – ‘z’ || ‘A’ – ‘Z’ for partitions)


    *NOTE: When you open a File, MultiFile, or Device stream, it will only attempt to open it with a “deny writing” flag, so as long as the stream is active, you or another program will not be able to write to it outside of this library stream, only read. The reason I did this is because this library is mainly going to be /personally/ used for priority writing (such as for my Sys360 project to keep writing to dedicated partition handling objects).


    *.NET USERS: There is a wrapper built into the DLL, so just add the DLL as usual and you’re good to go :3


    Import files (Native C++: 2 header files, lib, and dll included; .NET just needs the dll) (CLICK ME)
    Source files of the project (CLICK ME)


    Change Log:

    1.0.0.4 :
    ***FileStream bug fix, wasn’t reading data of length < fread max length
    ***Various optimizations
    ***Reading and writing string functions
    ***Built on .NET 2.0 so it can be used on .NET >= 2.0

    1.0.0.3 :
    ***Minor device stream change, no bug worry

    1.0.0.2 :
    ***Added both string and wide string functionality to Multi, File, and Device Streams
    ***Added a sbyte constructor to managed Device stream class
    ***Made the Name function specific to only a few classes
    ***Forgot to code a multifilestream constructor xD

    1.0.0.1 : Initial Release


    I tried to make it as fast and with as little errors as possible, if anyone encounters a screw up or even has a suggestion to optimize it, please alert me ^_^