English 中文(简体)
代表任意二元数据的良好数据类型是什么?
原标题:What is a good data type for representing arbitrary binary data?
  • 时间:2012-05-10 23:49:44
  •  标签:
  • mercury

我想读一下磁盘上的双元数据,将其储存在汞变量中。 据护卫图书馆称,护卫没有允许装满的tes子,也不向UTF-8储存内容,因此我不认为会奏效。 我迄今发现的最好的一线是地图图书馆的一条线,该图书馆说,“如果是8个缩略语阵列,那么选标就特别有效”。

轨道图是储存武断的双向数据的良好途径吗? 是否有更好的东西?

最佳回答

是的,借方图是推荐读/造物/书本数据的方法。

问题回答

暂无回答




相关问题
代表任意二元数据的良好数据类型是什么?

I want to read binary data from disk and store it in a Mercury variable. According to the string library, strings don t allow embedded null bytes and store content with UTF-8 encoding so I don t ...

Mercury: Determinism and pattern matching

I have a semideterministic function. When I re-write it to use pattern matching instead of an if statement, Mercury says it becomes nondeterministic. I d like to understand why. The original code: :-...

":=" and "=>" in Mercury

I recently came across this code example in Mercury: append(X,Y,Z) :- X == [], Z := Y. append(X,Y,Z) :- X => [H | T], append(T,Y,NT), Z <= [H | NT]. Being a Prolog programmer, I ...

Convert List to List of Tuples In Mercury

I am just a total beginner in mercury and finding it hard to solve this problem. I want to convert a list to a list of tupples sorted from smaller to higher frequenties. Eg: string.to_char_list("...

ADT properties in Mercury

I wander why Mercury (10.04) can t infer determinism of next snippet: :- pred load_freqs(int::in, io.res(list(float))::out, io::di, io::uo) is det. load_freqs(CPU, ResFreqs, !IO):- open_input(...

热门标签