public class TorrentId extends Object
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
static TorrentId |
fromBytes(byte[] bytes)
Create a TorrentId instance from a binary representation.
|
byte[] |
getBytes() |
int |
hashCode() |
static int |
length() |
String |
toString() |
public static int length()
public static TorrentId fromBytes(byte[] bytes)
bytes
- Binary representation of torrent's IDpublic byte[] getBytes()
Copyright © 2016–2021. All rights reserved.