测试编码和解码器

Signed-off-by: evanq <cppmain@gmail.com>