public interface IBencodedValue
| Modifier and Type | Method and Description |
|---|---|
BigInteger |
asBigInteger() |
byte[] |
asBytes() |
List<IBencodedValue> |
asList() |
long |
asLong() |
Map<String,IBencodedValue> |
asMap() |
String |
asString() |
String |
serialize() |
String asString()
UnsupportedOperationException - When the stored type is not a string.byte[] asBytes()
UnsupportedOperationException - When the stored type is not a string.long asLong()
UnsupportedOperationException - When the stored type is not a long or overflows a long.BigInteger asBigInteger()
UnsupportedOperationException - When the stored type is not a big integer.Map<String,IBencodedValue> asMap()
UnsupportedOperationException - When the stored type is not a map.List<IBencodedValue> asList()
UnsupportedOperationException - When the stored type is not a list.String serialize()
Copyright © 2016. All rights reserved.