decode library