in src/main/scala/com/gu/thrift/serializer/ThriftDeserializer.scala [51:57]
private def payload[T <: ThriftStruct](byteBuffer: ByteBuffer)(implicit codec: ThriftStructCodec[T]): T = {
val bbis = new ByteBufferBackedInputStream(byteBuffer)
val transport = new TIOStreamTransport(bbis)
val protocol = new TCompactProtocol(transport)
val struct = codec.decode(protocol)
struct
}