public int encode(int size) {
    return getSizeGroup(size);
  }
@Test
  public void testEncode() {
    int sizeBits = PREFIX_BITS + SUFFIX_BITS;
    for (int i = 0; i < sizeBits; i++) {
      int size = 1 << i;
      int encodedSize = mSizeEncoder.encode(size);
      assertEquals(encodedSize, (size >> SUFFIX_BITS));
    }
  }