Package net.flexbencode.bencode

Examples of net.flexbencode.bencode.BencodeString


        assertEquals(1L, d.getInt());
    }

    @Test
    public void testStringCreation () {
        BencodeString d = BencodeData.createBencodeString("abc");
        assertEquals(BencodeType.STRING, d.getType());
        assertEquals("abc", d.getString());
        assertEquals("abc", d.get());
    }
View Full Code Here

TOP

Related Classes of net.flexbencode.bencode.BencodeString

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.