Julia Juno Jupyter part1 [無断転載禁止]©2ch.net (745レス)
Julia Juno Jupyter part1 [無断転載禁止]©2ch.net http://mevius.5ch.net/test/read.cgi/tech/1455271513/
上
下
前
次
1-
新
通常表示
512バイト分割
レス栞
13: デフォルトの名無しさん [] 2016/02/13(土) 11:59:14.88 ID:3L3e3K/U もう少しちらうら julia> bytes2hex([65,97,66,98,0x5c]) ERROR: MethodError: `bytes2hex` has no method matching bytes2hex(::Array{Int32,1}) julia> bytes2hex(Array{UInt8,1}([65,97,66,98,0x5c])) "416142625c" julia> bytestring(Array{UInt8,1}([65,97,66,98,0x5c])) "AaBb\\" julia> hex2bytes("416142625c") 5-element Array{UInt8,1}: 0x41 0x61 0x42 0x62 0x5c julia> string2bytes("AaBb\\") ERROR: UndefVarError: string2bytes not defined julia> stringbytes("AaBb\\") ERROR: UndefVarError: stringbytes not defined julia> read(IOBuffer("AaBb\\")) ERROR: MethodError: `read` has no method matching read(::Base.AbstractIOBuffer{Array{UInt8,1}}) julia> read(IOBuffer("AaBb\\"), UInt8) 0x41 julia> read(IOBuffer("AaBb\\"), UInt8, length("AaBb\\")) 5-element Array{UInt8,1}: 0x41 0x61 0x42 0x62 0x5c んー マニュアルにはreaddim()があるって書いてあるのに・・・ 何かimport忘れてるとか? length省略できんのもなんだかな 勘違いならいいけど http://mevius.5ch.net/test/read.cgi/tech/1455271513/13
メモ帳
(0/65535文字)
上
下
前
次
1-
新
書
関
写
板
覧
索
設
栞
歴
あと 732 レスあります
スレ情報
赤レス抽出
画像レス抽出
歴の未読スレ
Google検索
Wikipedia
ぬこの手
ぬこTOP
0.006s