Hex Utilities 1.0 This is a simple right-click menu or shotcut-key based extension for Visual Studio 2013 which gives you three hex related functions. Hex formatting Highlight an unformatted hex string and format into proper hex array form: DE AADBEED 123FAAB --> 0xDE, 0xAA, 0xDB, 0xEE, 0xD1, 0x23, 0xFA, 0xAB During formatting, a new line will be inserted every 8 bytes. Shortcut Key: CONTROL-SHIFT-Z, CONTROL-SHIFT-H Random Byte Generation Insert, in a formatted byte array, random bytes from the System.Security.Cryptography RNG. You can insert up to 4096 random bytes. Shortcut Key: CONTROL-SHIFT-Z, CONTROL-SHIFT-R Byte Counter Highlight a selection of hex characters and receive a byte count. The byte count is also automatically copied to the clipboard for easy pasting. Shortcut Key: CONTROL-SHIFT-Z, CONTROL-SHIFT-C
This is a free extension which I wrote for myself since I often need these types of functions during my coding sessions. I decided to go ahead and share it for anyone who may find it useful.
THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |