Creating RTCP header
Hi all,
I would like to create RTCP header [version(2bit),padding(1 bit), count(5 bit), payload(8 bit), length(16 bit), ssrc(32 bit)] in java.How can I declare 2 bit version, in case of c and c++ there is a possibility like allocating 2 bits even by using bitfield... Is anything in java like that by using shifting or any one knows how to declare 2 bits other than BitSet class since it is taking 64 bit as size even though i declare a size of 2 bit.

