@Test
void decodeTypeSkipsFirstByte() {

  ByteBuf fakeTypeBuffer = Unpooled.buffer(2);
  fakeTypeBuffer.writeByte(128);
  fakeTypeBuffer.writeCharSequence("example", CharsetUtil.US_ASCII);
  assertThat(decodeMimeTypeFromMimeBuffer(fakeTypeBuffer)).hasToString("example");
}