tessel/runtime#645 r=@tcr: Fix up Buffer's handling of all the encodings