Deserialize a byte array into the corresponding Michelson value. Same as unpackData but takes a bytes Michelson data literal instead of an array
bytes
const src = { bytes: "0500a7e8e4d80b" };const typ: MichelsonType = { prim: "timestamp"};const data = unpackDataBytes(src, typ);// { string: "2019-09-26T10:59:51Z" } Copy
const src = { bytes: "0500a7e8e4d80b" };const typ: MichelsonType = { prim: "timestamp"};const data = unpackDataBytes(src, typ);// { string: "2019-09-26T10:59:51Z" }
Bytes object
Optional
Optional type definition
Deserialized data
Deserialize a byte array into the corresponding Michelson value. Same as unpackData but takes a
bytes
Michelson data literal instead of an array