Coder Social home page Coder Social logo

binaryextensions's Introduction

BinaryExtensions

BinaryExtensions

NuGet

Types and extension methods to deal with binary data.

Features

  • read primitives in any endianness using Read and TryRead extension methods for BinaryReader and byte[]
  • a logged stream that logs read and written regions in a wrapped stream
    • e.g. reverse-engineering a file format and find what's currently been unexplored in the file by your logic

CHANGELOG

1.1.2 (11/19/2020)

  • added BinaryReader.ReadToEnd method
  • fixed LogStream.GetRegionsReadIntersect that was returning empty regions for fully read streams
  • added tests project
  • enforced C# 8.0 version so project can still be used in Unity
  • using internal annotations to prevent conflicts, e.g. when using UnityEngine.CoreModule in non-Unity projects
  • don't include XML documentation in repository

1.1.1 (10/2/2020)

  • publishing release configuration instead

1.1.0 (10/2/2020)

  • breaking changes
    • not overloading System.IO namespace anymore
    • not everything has been back ported yet
    • switching to .NET Standard 2.1
  • better NuGet package with sources and symbols
  • now using T4 templates for code generation
  • version bump to 1.1.0
  • new icon

1.0.* (11/18/2018)

  • seamless reading of integral types in big-endian or little-endian format, environment endianness being irrelevant
  • functions are exposed as extension methods for BinaryReader and all integral types
  • endian-aware integral types, just declare structs and read them in one go with ReadStruct<T>
  • a LoggedBinaryReader that logs read and unread regions, very useful when deciphering some complex file format

binaryextensions's People

Contributors

aybe avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

binaryextensions's Issues

Why are these new changes not a different project?

The nice point of this package was that it was an extension of System.IO. This latest release breaks everybody's projects. It really should be its own nuget package, and you should restore the old one as to not break anybody's code

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.