Using Buffers instead of strings. Bdecoder working