Encode and decode binary streams using the pipes and binary libraries.