in src/main/scala/com/gu/octopusthrift/util/ThriftSerializer.scala [18:23]
def deserialize[T <: ThriftStruct](responseBody: Array[Byte], codec: ThriftStructCodec[T]): T = {
val bbis = new ByteArrayInputStream(responseBody)
val transport = new TIOStreamTransport(bbis)
val protocol = new TCompactProtocol(transport)
codec.decode(protocol)
}