You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
			
				
					17 lines
				
				236 B
			
		
		
			
		
	
	
					17 lines
				
				236 B
			| 
								 
											4 years ago
										 
									 | 
							
								#ifndef KAITAI_CUSTOM_DECODER_H
							 | 
						||
| 
								 | 
							
								#define KAITAI_CUSTOM_DECODER_H
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								#include <string>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								namespace kaitai {
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								class custom_decoder {
							 | 
						||
| 
								 | 
							
								public:
							 | 
						||
| 
								 | 
							
								    virtual ~custom_decoder() {};
							 | 
						||
| 
								 | 
							
								    virtual std::string decode(std::string src) = 0;
							 | 
						||
| 
								 | 
							
								};
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								}
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								#endif
							 |