made it possible to create a TokenList from a buffer
#347
+55
−2
TokenList from a buffer
#347