Added the Decode class with basic byte-stream reading