You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: get_deserialize.m
    path of file: ./repos/AI-mag/src/ann_regression/ann_matlab/+ann_engine/@MatlabPythonClient
    
    the code of the file until where you have to start completion: function data = get_deserialize(bytes_array)
% Deserialize data fro
    
function cls = class_decode(b)
% Decode the data type from a byte.
%
%    Parameters:
%        b (byte): byte with the encoded type
%
%    Returns:
%        cls (str): name of the decoded data type

switch b
    case 0
        cls = 'double';
    case 1
        cls = 'single';
    case 2
        cls = 'logical';
    case 3
        cls = 'char';
    case 4
        cls = 'int8';
    case 5
        cls = 'uint8';
    case 8
        cls = 'int32';
    case 9
        cls = 'uint32';
    case 10
        cls = 'int64';
    case 11
        cls = 'uint64';
    case 12
        cls = 'struct';
    otherwise
        error('invalid data type')
end