sketch deserialize stream