Revert "added first attempt for decoding/encoding on bytelevel"

This reverts commit d47d169f45f6b2171b47adccfb19d5b6e87da2ff.
Revert "added an interface for byte conversion"

This reverts commit 3077b951ee3c258a9ef8c7af8f2c21cc4d8cfade.