Reads a Map from the backing buffer
length
Map readStandardMap(int length) { final res = {}; while (length > 0) { res[read()] = read(); --length; } return res; }