new support for buffer type in bencoding