Binary data reader and converter (This is part of js-core)