MemoLayout.fromBuffer constructor
Constructs a MemoLayout instance from a buffer.
Implementation
factory MemoLayout.fromBuffer(List<int> data) {
return MemoLayout(
memo: StringUtils.decode(data,
type: StringEncoding.utf8, allowInvalidOrMalformed: true));
}