]> Sergey Matveev's repositories - btrtrc.git/commit
bencode: get type of `big.Int` without creating instance (#651)
authorYenForYang <YenForYang@users.noreply.github.com>
Sat, 18 Sep 2021 02:44:47 +0000 (21:44 -0500)
committerGitHub <noreply@github.com>
Sat, 18 Sep 2021 02:44:47 +0000 (12:44 +1000)
commit7b19e81fc64ff38baeb56b4f37348723ad516f2a
treecfaf25440dc325b96b4fed4695e1021df9f76d7c
parented3b3ee5ca452a5f68e2b0d0358014160aa59947
bencode: get type of `big.Int` without creating instance (#651)

Nope, it doesn't really matter. But anyway, see https://github.com/golang/crypto/blob/c084706c2272f3d44b722e988e70d4a58e60e7f4/cryptobyte/asn1.go#L267
bencode/encode.go