public override ScalarValue Decode(System.IO.Stream in_Renamed) { var value_Renamed = (ByteVectorValue)BYTE_VECTOR.Decode(in_Renamed); return(new StringValue(System.Text.Encoding.UTF8.GetString(value_Renamed.value_Renamed))); }
public override byte[] EncodeValue(ScalarValue value_Renamed) { var utf8encoding = System.Text.Encoding.UTF8.GetBytes(((StringValue)value_Renamed).value_Renamed); return(BYTE_VECTOR.Encode(new ByteVectorValue(utf8encoding))); }