/// <summary> /// Gets the type name by id. /// </summary> /// <param name="id">The identifier.</param> /// <returns>Type or null.</returns> public string GetTypeName(int id) { return(DoOutInOp((int)Op.GetType, w => w.WriteInt(id), r => Marshaller.StartUnmarshal(r).ReadString())); }
/** <inheritdoc /> */ public BinaryType GetBinaryType(int typeId) { return(_socket.DoOutInOp(ClientOp.BinaryTypeGet, s => s.WriteInt(typeId), s => new BinaryType(_marsh.StartUnmarshal(s), true))); }