Skip to content

Instantly share code, notes, and snippets.

Don Anderson ddanderson

Block or report user

Report or block ddanderson

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
ddanderson / BdbOrderedInt.cpp
Created Feb 19, 2011
A C++ demonstration class that forces values to be stored in MSB format, suitable for use with Berkeley DB
View BdbOrderedInt.cpp
#include <cstring>
// Forces values to be stored in MSB format
// Assumes 32 bit int!
class BdbOrderedInt
unsigned char bytes[4];
ddanderson / bdb_convert_file
Created Feb 13, 2011
A demonstration of how to convert a Berkeley DB file. Discussion here:
View bdb_convert_file
# Copyright (c) 2011
# Donald D. Anderson. All rights reserved.
# Redistribution and use in source and binary forms are permitted.
# This software is provided 'as is' and any express or
# implied warranties, including, but not limited to, the implied
# warranties of merchantability, fitness for a particular purpose, or
# non-infringement, are disclaimed.
You can’t perform that action at this time.