Part of #1201. It should be able to create enumerator from primitive byte-array-like stack items too.